diff options
| author | Tommaso Sciortino <[email protected]> | 2025-06-07 16:17:27 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-07 16:17:27 -0700 |
| commit | 389907ce6537bd8caeb10b3d4dacaa8ece059500 (patch) | |
| tree | 71c843ca52176dbc69e46f8df675f0b91fe2e16b /packages/core/src/tools/tool-registry.test.ts | |
| parent | e95a6086fc89191888f2a4e41a3c875273311d96 (diff) | |
Introduce ContentGeneratorConfig (#826)
Diffstat (limited to 'packages/core/src/tools/tool-registry.test.ts')
| -rw-r--r-- | packages/core/src/tools/tool-registry.test.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/core/src/tools/tool-registry.test.ts b/packages/core/src/tools/tool-registry.test.ts index 0c23a74e..44e04a9d 100644 --- a/packages/core/src/tools/tool-registry.test.ts +++ b/packages/core/src/tools/tool-registry.test.ts @@ -124,17 +124,19 @@ class MockTool extends BaseTool<{ param: string }, ToolResult> { } const baseConfigParams: ConfigParameters = { - apiKey: 'test-api-key', - model: 'test-model', + contentGeneratorConfig: { + model: 'test-model', + apiKey: 'test-api-key', + vertexai: false, + userAgent: 'TestAgent/1.0', + }, embeddingModel: 'test-embedding-model', sandbox: false, targetDir: '/test/dir', debugMode: false, - userAgent: 'TestAgent/1.0', userMemory: '', geminiMdFileCount: 0, approvalMode: ApprovalMode.DEFAULT, - vertexai: false, }; describe('ToolRegistry', () => { |
