mirror of
https://github.com/vee1e/workorder-desk.git
synced 2026-09-01 09:50:13 +00:00
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:
parent
303def2205
commit
691980735a
1 changed files with 1 additions and 0 deletions
|
|
@ -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',
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue