Merge pull request #1873 from deepseek-harness/fix/code-mode-executor-collapse

fix(tools): collapse code-mode executor to run_code for model-direct calls
This commit is contained in:
Yichen Jiang
2026-08-11 23:22:54 +08:00
committed by GitHub
28 changed files with 1007 additions and 124 deletions

View File

@@ -343,7 +343,7 @@ describe('startInProcessRun', () => {
await expect(startInProcessRun({
...request(parent),
toolFilter: { deny: ['unknown-tool'] },
}, {})).rejects.toThrow('unknown inherited tool')
}, {})).rejects.toThrow('unknown global tool')
expect(ctx.agents.list()).toHaveLength(beforeAgents)
expect(ctx.sessions.list()).toHaveLength(beforeSessions)
})