tui: prevent deprecated models from appearing in model picker

This commit is contained in:
Dax Raad
2025-12-06 17:07:01 -05:00
parent 6923cc4a6a
commit 1b05d5dd8e
5 changed files with 12 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ import { useArgs } from "../context/args"
import { useDirectory } from "../context/directory"
import { useRoute, useRouteData } from "@tui/context/route"
import { usePromptRef } from "../context/prompt"
import { Installation } from "@/installation"
// TODO: what is the best way to do this?
let once = false
@@ -89,6 +90,10 @@ export function Home() {
<text fg={theme.textMuted}>/status</text>
</Show>
</box>
<box flexGrow={1} />
<box flexShrink={0}>
<text fg={theme.textMuted}>{Installation.VERSION}</text>
</box>
</box>
</>
)