feat(models): add background task model override config and runtime wiring
This commit is contained in:
@@ -490,6 +490,38 @@ const agentsSchema = z.object({
|
||||
tool_summarisation: 'fast',
|
||||
complex_reasoning: 'complex',
|
||||
}),
|
||||
background_models: z.object({
|
||||
compaction: z.object({
|
||||
enabled: z.boolean().default(true),
|
||||
provider: z.enum(MODEL_PROVIDERS),
|
||||
model: z.string().min(1),
|
||||
fallback_tier: modelTierEnum.default('fast'),
|
||||
}).optional(),
|
||||
memory_extraction: z.object({
|
||||
enabled: z.boolean().default(true),
|
||||
provider: z.enum(MODEL_PROVIDERS),
|
||||
model: z.string().min(1),
|
||||
fallback_tier: modelTierEnum.default('fast'),
|
||||
}).optional(),
|
||||
classification: z.object({
|
||||
enabled: z.boolean().default(true),
|
||||
provider: z.enum(MODEL_PROVIDERS),
|
||||
model: z.string().min(1),
|
||||
fallback_tier: modelTierEnum.default('fast'),
|
||||
}).optional(),
|
||||
tool_summarisation: z.object({
|
||||
enabled: z.boolean().default(true),
|
||||
provider: z.enum(MODEL_PROVIDERS),
|
||||
model: z.string().min(1),
|
||||
fallback_tier: modelTierEnum.default('fast'),
|
||||
}).optional(),
|
||||
complex_reasoning: z.object({
|
||||
enabled: z.boolean().default(true),
|
||||
provider: z.enum(MODEL_PROVIDERS),
|
||||
model: z.string().min(1),
|
||||
fallback_tier: modelTierEnum.default('fast'),
|
||||
}).optional(),
|
||||
}).default({}),
|
||||
auto_escalate: z.boolean().default(false),
|
||||
max_delegation_depth: z.number().min(1).max(10).default(3),
|
||||
/** Maximum tool-loop iterations before the agent stops. */
|
||||
|
||||
Reference in New Issue
Block a user