mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 14:51:45 +00:00
fix(subagents): restore configurable announce timeout
Co-authored-by: Valadon <20071960+Valadon@users.noreply.github.com>
This commit is contained in:
@@ -247,6 +247,8 @@ export type AgentDefaultsConfig = {
|
||||
model?: AgentModelConfig;
|
||||
/** Default thinking level for spawned sub-agents (e.g. "off", "low", "medium", "high"). */
|
||||
thinking?: string;
|
||||
/** Gateway timeout in ms for sub-agent announce delivery calls (default: 60000). */
|
||||
announceTimeoutMs?: number;
|
||||
};
|
||||
/** Optional sandbox settings for non-main sessions. */
|
||||
sandbox?: AgentSandboxConfig;
|
||||
|
||||
@@ -164,6 +164,7 @@ export const AgentDefaultsSchema = z
|
||||
archiveAfterMinutes: z.number().int().positive().optional(),
|
||||
model: AgentModelSchema.optional(),
|
||||
thinking: z.string().optional(),
|
||||
announceTimeoutMs: z.number().int().positive().optional(),
|
||||
})
|
||||
.strict()
|
||||
.optional(),
|
||||
|
||||
Reference in New Issue
Block a user