mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 04:00:36 +00:00
Get ToolRegistry from config instead of passing it (#6592)
This commit is contained in:
parent
f1575f6d8d
commit
a01d411c5a
6 changed files with 14 additions and 29 deletions
|
|
@ -137,7 +137,6 @@ describe('runNonInteractive', () => {
|
|||
expect(mockCoreExecuteToolCall).toHaveBeenCalledWith(
|
||||
mockConfig,
|
||||
expect.objectContaining({ name: 'testTool' }),
|
||||
mockToolRegistry,
|
||||
expect.any(AbortSignal),
|
||||
);
|
||||
expect(mockGeminiClient.sendMessageStream).toHaveBeenNthCalledWith(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue