mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
test(subagent): keep scoped fixture config explicit
This commit is contained in:
@@ -696,8 +696,7 @@
|
||||
"@deepseek-ai/dsh-llm-deepseek",
|
||||
"@deepseek-ai/dsh-session-checkpoint-policy",
|
||||
"@deepseek-ai/dsh-session-persistence-jsonl",
|
||||
"@deepseek-ai/dsh-skill-filesystem",
|
||||
"@deepseek-ai/dsh-tool-subagent"
|
||||
"@deepseek-ai/dsh-skill-filesystem"
|
||||
]
|
||||
},
|
||||
"packages/shell/tool-pwsh": {
|
||||
|
||||
+11
-1
@@ -14,6 +14,16 @@ export const inject = ['agents', 'subagentModelSelection']
|
||||
*/
|
||||
export function apply(ctx: Context, config: Config): void {
|
||||
ctx.on('agent/created', ({ agent }) => {
|
||||
agent.ctx.plugin(ToolSubagent, { ...config, modelSelectionSettings: true })
|
||||
agent.ctx.plugin(ToolSubagent, {
|
||||
provider: config.provider,
|
||||
toolName: config.toolName,
|
||||
modelSelectionSettings: true,
|
||||
enableRunInBackground: config.enableRunInBackground,
|
||||
backgroundMode: config.backgroundMode,
|
||||
agentOptions: config.agentOptions,
|
||||
persona: config.persona,
|
||||
toolFilter: config.toolFilter,
|
||||
maxDepth: config.maxDepth,
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user