diff --git a/src/unified-dashboard.ts b/src/unified-dashboard.ts index 75970fb..6cef723 100644 --- a/src/unified-dashboard.ts +++ b/src/unified-dashboard.ts @@ -591,6 +591,7 @@ function buildModelConfigSection(): string { }, ]; + const failover = getGlobalFailoverInfo(); const lines = ['🤖 *모델 구성*']; for (const role of roleConfigs) { if (!role.agentType && role.label === 'Arbiter') continue; @@ -600,7 +601,14 @@ function buildModelConfigSection(): string { ? process.env.CODEX_MODEL || 'codex' : process.env.CLAUDE_MODEL || 'claude'; const model = role.model || defaultModel; - lines.push(` **${role.label}** — ${type} \`${model}\``); + + // Show fallback status for claude-code roles when global failover is active + const isFallback = failover.active && type === 'claude-code'; + const fallbackModel = process.env.CODEX_MODEL || 'codex'; + const modelDisplay = isFallback + ? `\`${model}\` (fallback → \`${fallbackModel}\`)` + : `\`${model}\``; + lines.push(` **${role.label}** — ${type} ${modelDisplay}`); } // MoA status @@ -612,8 +620,6 @@ function buildModelConfigSection(): string { lines.push(` **MoA** — ${refs}`); } - // Global failover - const failover = getGlobalFailoverInfo(); if (failover.active) { lines.push(` ⚠️ **Failover 활성** — ${failover.reason || '알 수 없음'}`); }