Skip to content

Commit 03e678c

Browse files
authored
fix(desktop): improve model picker message and runtime dropdown clarity (#778)
1 parent 9db8f6c commit 03e678c

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

desktop/src/features/agents/ui/ModelPicker.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,16 @@ export function ModelPicker({
126126
</div>
127127
) : !modelsData.supportsSwitching ? (
128128
<div className="px-3 py-2 text-sm text-muted-foreground">
129-
This agent uses the runtime&apos;s default model.
129+
{agent.model ? (
130+
<>
131+
<p className="font-medium text-foreground">{agent.model}</p>
132+
<p className="mt-0.5 text-xs">
133+
This runtime does not support switching models.
134+
</p>
135+
</>
136+
) : (
137+
"This agent uses the runtime's default model."
138+
)}
130139
</div>
131140
) : (
132141
<DropdownMenuRadioGroup

desktop/src/features/channels/ui/AddChannelBotDialog.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,11 @@ export function AddChannelBotDialog({
563563
</DropdownMenuRadioGroup>
564564
</DropdownMenuContent>
565565
</DropdownMenu>
566+
<p className="text-xs text-muted-foreground">
567+
{selectedPersonas.some((p) => p.provider)
568+
? "Personas with a preferred runtime will use their own instead of this selection."
569+
: "Default runtime for all deployed agents."}
570+
</p>
566571
</div>
567572

568573
{teams.length > 0 ? (

0 commit comments

Comments
 (0)