diff --git a/src/api/client.ts b/src/api/client.ts index d46e299..f2dbb89 100644 --- a/src/api/client.ts +++ b/src/api/client.ts @@ -3455,6 +3455,7 @@ export interface ApiChatAiStatus { stream: string provider_slug: string | null vendor: string | null + config_name: string | null model: string | null healthy: boolean detail: string diff --git a/src/components/layout/ChatWorkspace/AiStatusChip.tsx b/src/components/layout/ChatWorkspace/AiStatusChip.tsx index 916ff37..9f2deb9 100644 --- a/src/components/layout/ChatWorkspace/AiStatusChip.tsx +++ b/src/components/layout/ChatWorkspace/AiStatusChip.tsx @@ -47,10 +47,12 @@ export function AiStatusChip({ hidden }: { hidden?: boolean }) { : stream === 'byoai' ? 'byoai · api' : data.vendor || data.provider_slug || stream || 'backend' + const configName = data.config_name || '' const model = data.model || '' + const titleParts = [label, configName, model].filter(Boolean).join(' → ') const title = healthy - ? `Backend AI: ${label} → ${model} (healthy)` - : `Backend AI: ${label} → ${model} (may be unhealthy)` + ? `Backend AI: ${titleParts} (healthy)` + : `Backend AI: ${titleParts} (may be unhealthy)` return (