fix(test): pin AI_MODEL in AI test env so suites are independent of the developer .env

The provider tests asserted the default gpt-4o-mini model, which broke once
a local .env set AI_MODEL=openrouter/free. The test env now pins the model
before config/env is imported.
This commit is contained in:
lakshit verma 2026-08-19 21:46:21 +05:30
parent 303def2205
commit 691980735a
No known key found for this signature in database

View file

@ -12,6 +12,7 @@ export const AI_ENV = {
AI_ENABLED: 'true',
AI_BASE_URL: 'https://llm.example.com/v1',
AI_API_KEY: 'test-key',
AI_MODEL: 'gpt-4o-mini',
AI_RATE_LIMIT_MAX: '100000',
AI_MAX_STEPS_PER_RUN: '3',
};