You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/blocks/blocks/agent.ts
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -151,7 +151,7 @@ Return ONLY the JSON array.`,
151
151
language: 'json',
152
152
placeholder: 'Enter custom provider and model configuration...',
153
153
description:
154
-
'Provider, model, credentials, and provider-specific generation settings. Tools, response format, skills, files, prompts, and memory remain configured separately.',
154
+
'Provider, model, credentials, and provider-specific generation settings. Use provider "sim" with model "sim-auto" for automatic routing. Tools, response format, skills, files, prompts, and memory remain configured separately.',
155
155
defaultValue: CUSTOM_MODEL_CONFIG_DEFAULT,
156
156
superUserOnly: true,
157
157
required: {
@@ -550,7 +550,13 @@ Return ONLY the JSON array.`,
// Like the first-class Auto option below, custom Sim Auto resolves to
557
+
// a concrete provider only at execution time. Serialization stores a
558
+
// valid fallback provider shape that the Agent handler never uses.
559
+
returngetBaseModelProviders()['claude-sonnet-5']
554
560
}
555
561
// sim-auto resolves to a concrete pool model at execution time, where
556
562
// the agent handler derives the provider from the resolved model and
@@ -639,7 +645,7 @@ Return ONLY the JSON array.`,
639
645
customModelConfig: {
640
646
type: 'json',
641
647
description:
642
-
'Custom provider/model execution configuration. Tools, response format, skills, files, prompts, and memory are separate Agent inputs.',
648
+
'Custom provider/model execution configuration. Use provider "sim" with model "sim-auto" for automatic routing. Tools, response format, skills, files, prompts, and memory are separate Agent inputs.',
643
649
schema: CUSTOM_MODEL_CONFIG_JSON_SCHEMA,
644
650
},
645
651
apiKey: {type: 'string',description: 'Provider API key'},
0 commit comments