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
@@ -152,7 +152,7 @@ Return ONLY the JSON array.`,
152
152
language: 'json',
153
153
placeholder: 'Enter custom provider and model configuration...',
154
154
description:
155
-
'Provider, model, credentials, and provider-specific generation settings. Tools, response format, skills, files, prompts, and memory remain configured separately.',
155
+
'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.',
156
156
defaultValue: CUSTOM_MODEL_CONFIG_DEFAULT,
157
157
superUserOnly: true,
158
158
required: {
@@ -542,7 +542,13 @@ Return ONLY the JSON array.`,
// Like the first-class Auto option below, custom Sim Auto resolves to
549
+
// a concrete provider only at execution time. Serialization stores a
550
+
// valid fallback provider shape that the Agent handler never uses.
551
+
returngetBaseModelProviders()['claude-sonnet-5']
546
552
}
547
553
// sim-auto resolves to a concrete pool model at execution time, where
548
554
// the agent handler derives the provider from the resolved model and
@@ -631,7 +637,7 @@ Return ONLY the JSON array.`,
631
637
customModelConfig: {
632
638
type: 'json',
633
639
description:
634
-
'Custom provider/model execution configuration. Tools, response format, skills, files, prompts, and memory are separate Agent inputs.',
640
+
'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.',
635
641
schema: CUSTOM_MODEL_CONFIG_JSON_SCHEMA,
636
642
},
637
643
apiKey: {type: 'string',description: 'Provider API key'},
0 commit comments