Skip to content

Claude Code. Any Model. The most powerful AI coding agent now speaks every language.

fix(tui): describe unmapped profile roles as calculated routing

Jack Rudenko83ce97afe4d5
diff --git a/packages/cli/src/tui/components/ProfileDetail.tsx b/packages/cli/src/tui/components/ProfileDetail.tsx
index 682ee93a..24af4c31 100644
--- a/packages/cli/src/tui/components/ProfileDetail.tsx
+++ b/packages/cli/src/tui/components/ProfileDetail.tsx
@@ -55,10 +55,14 @@ export function ProfileDetail({ config, profileIndex }: ProfileDetailProps) {
<span fg={C.blue} attributes={A.bold}>
{`${label}: `}
</span>
+ {/* An unmapped role sends whatever model the session would (the
+ --model default, else Claude Code's own), and that name is
+ routed as every name is: native, a user rule, or the catalog.
+ There is no routing table to consult. */}
{isAuto ? (
<>
<span fg={C.yellow}>(auto-route</span>
- <span fg={C.dim}> — uses routing table</span>
+ <span fg={C.dim}> — calculated per model · Routing → p shows the chain</span>
<span fg={C.yellow}>)</span>
</>
) : (
diff --git a/packages/cli/src/tui/components/ProfilesContent.tsx b/packages/cli/src/tui/components/ProfilesContent.tsx
index 10d637d1..800ab00b 100644
--- a/packages/cli/src/tui/components/ProfilesContent.tsx
+++ b/packages/cli/src/tui/components/ProfilesContent.tsx
@@ -386,7 +386,7 @@ export function ProfilesContent({
<span fg={C.yellow} attributes={A.bold}>
auto-route{" "}
</span>
- <span fg={C.fgMuted}>— uses routing table · </span>
+ <span fg={C.fgMuted}>— calculated per model (Routing → p) · </span>
<span fg={C.green} attributes={A.bold}>
⏎{" "}
</span>