mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 20:57:28 +00:00
feat(config): default thinking for sessions_spawn subagents (#7372)
* feat(config): add subagent default thinking * fix: accept config subagents.thinking + stabilize test mocks (#7372) (thanks @tyler6204) * fix: use findLast instead of clearAllMocks in test (#7372) * fix: correct test assertions for tool result structure (#7372) * fix: remove unnecessary type assertion after rebase
This commit is contained in:
@@ -40,6 +40,7 @@ Use `sessions_spawn`:
|
||||
- Starts a sub-agent run (`deliver: false`, global lane: `subagent`)
|
||||
- Then runs an announce step and posts the announce reply to the requester chat channel
|
||||
- Default model: inherits the caller unless you set `agents.defaults.subagents.model` (or per-agent `agents.list[].subagents.model`); an explicit `sessions_spawn.model` still wins.
|
||||
- Default thinking: inherits the caller unless you set `agents.defaults.subagents.thinking` (or per-agent `agents.list[].subagents.thinking`); an explicit `sessions_spawn.thinking` still wins.
|
||||
|
||||
Tool params:
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@ x-i18n:
|
||||
- 启动子智能体运行(`deliver: false`,全局队列:`subagent`)
|
||||
- 然后运行回报步骤,将回报回复发布到请求者的聊天渠道
|
||||
- 默认模型:继承调用者,除非你设置了 `agents.defaults.subagents.model`(或按智能体 `agents.list[].subagents.model`);显式的 `sessions_spawn.model` 仍然优先。
|
||||
- 默认思考级别:继承调用者,除非你设置了 `agents.defaults.subagents.thinking`(或按智能体 `agents.list[].subagents.thinking`);显式的 `sessions_spawn.thinking` 仍然优先。
|
||||
|
||||
工具参数:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user