diff --git a/src/tools/__tests__/test-helpers.ts b/src/tools/__tests__/test-helpers.ts index ea52512..c323264 100644 --- a/src/tools/__tests__/test-helpers.ts +++ b/src/tools/__tests__/test-helpers.ts @@ -1,7 +1,10 @@ import { llmConfig } from '../../config'; export const setupTestLLMConfig = () => { + // Reset provider to gemini for tests llmConfig.provider = 'gemini'; - delete llmConfig.baseURL; - delete llmConfig.model; + + // Clear any OpenAI-specific env vars that might affect tests + delete process.env.OPENAI_API_KEY; + delete process.env.OPENAI_BASE_URL; };