mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(desktop): improve model picker message and runtime dropdown clarity (#778)
This commit is contained in:
@@ -126,7 +126,16 @@ export function ModelPicker({
|
|||||||
</div>
|
</div>
|
||||||
) : !modelsData.supportsSwitching ? (
|
) : !modelsData.supportsSwitching ? (
|
||||||
<div className="px-3 py-2 text-sm text-muted-foreground">
|
<div className="px-3 py-2 text-sm text-muted-foreground">
|
||||||
This agent uses the runtime's default model.
|
{agent.model ? (
|
||||||
|
<>
|
||||||
|
<p className="font-medium text-foreground">{agent.model}</p>
|
||||||
|
<p className="mt-0.5 text-xs">
|
||||||
|
This runtime does not support switching models.
|
||||||
|
</p>
|
||||||
|
</>
|
||||||
|
) : (
|
||||||
|
"This agent uses the runtime's default model."
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<DropdownMenuRadioGroup
|
<DropdownMenuRadioGroup
|
||||||
|
|||||||
@@ -563,6 +563,11 @@ export function AddChannelBotDialog({
|
|||||||
</DropdownMenuRadioGroup>
|
</DropdownMenuRadioGroup>
|
||||||
</DropdownMenuContent>
|
</DropdownMenuContent>
|
||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
|
<p className="text-xs text-muted-foreground">
|
||||||
|
{selectedPersonas.some((p) => p.provider)
|
||||||
|
? "Personas with a preferred runtime will use their own instead of this selection."
|
||||||
|
: "Default runtime for all deployed agents."}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{teams.length > 0 ? (
|
{teams.length > 0 ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user