feat: improve /connect command and /model selector UX (#665)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-01-24 12:06:16 -08:00
committed by GitHub
parent 9659fa32e8
commit 23c528a25b
7 changed files with 1014 additions and 37 deletions

View File

@@ -264,11 +264,11 @@ export const commands: Record<string, Command> = {
// === Session management (order 40-49) ===
"/connect": {
desc: "Connect an existing account (/connect codex or /connect zai <api-key>)",
desc: "Connect your LLM API keys (OpenAI, Anthropic, etc.)",
order: 40,
handler: () => {
// Handled specially in App.tsx
return "Initiating account connection...";
// Handled specially in App.tsx - opens ProviderSelector
return "Opening provider connection...";
},
},
"/disconnect": {