mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 20:20:57 +00:00
refactor: Use default centralized Flash & Pro models everywhere (#994)
This commit is contained in:
parent
f8a31f29aa
commit
7bcc60e996
9 changed files with 28 additions and 11 deletions
|
|
@ -9,7 +9,7 @@ import { getEffectiveModel } from './modelCheck.js';
|
|||
import {
|
||||
DEFAULT_GEMINI_MODEL,
|
||||
DEFAULT_GEMINI_FLASH_MODEL,
|
||||
} from '../config/config.js';
|
||||
} from '@gemini-cli/core';
|
||||
|
||||
// Mock global fetch
|
||||
global.fetch = vi.fn();
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
import {
|
||||
DEFAULT_GEMINI_MODEL,
|
||||
DEFAULT_GEMINI_FLASH_MODEL,
|
||||
} from '../config/config.js';
|
||||
} from '@gemini-cli/core';
|
||||
|
||||
/**
|
||||
* Checks if the default "pro" model is rate-limited and returns a fallback "flash"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue