diff --git a/ui/src/components/ChatInterface.tsx b/ui/src/components/ChatInterface.tsx index 6ee249b7532befb764d1fd875128d4c8a8cf5c28..db66806500ab5fe46987ee8d248b0148d93ad367 100644 --- a/ui/src/components/ChatInterface.tsx +++ b/ui/src/components/ChatInterface.tsx @@ -1205,9 +1205,17 @@ function ChatInterface({ .
-- Send a message to start the conversation. -
+ {models.length === 0 ? ( ++ No AI models configured. Press Ctrl+K or ⌘+K to add a model. +
++ Send a message to start the conversation. +
+ )} ); diff --git a/ui/src/styles.css b/ui/src/styles.css index 9a2c2dd0fe1988f37f9df2778e92e5a589ab26a2..bf26199f2307cfff7daeb0f24c3258bdf29d35cd 100644 --- a/ui/src/styles.css +++ b/ui/src/styles.css @@ -4073,18 +4073,6 @@ svg { flex-shrink: 0; } -.command-palette-shortcut kbd, -.command-palette-footer kbd { - display: inline-block; - padding: 0.125rem 0.375rem; - font-size: 0.75rem; - font-family: inherit; - background: var(--bg-tertiary); - border: 1px solid var(--border-color); - border-radius: 0.25rem; - color: var(--text-secondary); -} - .command-palette-list { flex: 1; overflow-y: auto; @@ -4802,6 +4790,17 @@ svg { padding-bottom: 0.5rem; } +kbd { + display: inline-block; + padding: 0.125rem 0.375rem; + font-size: 0.75rem; + font-family: inherit; + background: var(--bg-tertiary); + border: 1px solid var(--border-color); + border-radius: 0.25rem; + color: var(--text-secondary); +} + /* System Prompt View */ .system-prompt-view { background: var(--gray-100);