From fe0502c911fd51189510e9dc9b8bc7a504e41c0a Mon Sep 17 00:00:00 2001 From: mohiit1502 Date: Sun, 2 Aug 2026 19:09:34 +0530 Subject: [PATCH] =?UTF-8?q?feat(chat):=20show=20config=20name=20in=20AI=20?= =?UTF-8?q?status=20chip=20(offered=20=C2=B7=20Foundry=20=C2=B7=20kimi-k2.?= =?UTF-8?q?7-code)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/client.ts | 1 + src/components/layout/ChatWorkspace/AiStatusChip.tsx | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 (