tui: remove cancel keybind hint from prompt dialog to simplify UI

This commit is contained in:
Dax Raad
2025-11-27 13:48:34 -05:00
parent a0b689c140
commit 95b667d21e
2 changed files with 1 additions and 7 deletions
@@ -137,13 +137,10 @@ export function DialogModel() {
providerID: provider.id,
modelID: model,
}
const favorite = favorites.some(
(item) => item.providerID === value.providerID && item.modelID === value.modelID,
)
return {
value,
title: info.name ?? model,
description: connected() ? `${provider.name}${favorite ? " ★" : ""}` : undefined,
description: connected() ? provider.name : undefined,
category: connected() ? provider.name : undefined,
disabled: provider.id === "opencode" && model.includes("-nano"),
footer: info.cost?.input === 0 && provider.id === "opencode" ? "Free" : undefined,