mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 23:42:03 +00:00
refactor: use qwen3.5-plus to replace vision-model
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
parent
f90ed9efe9
commit
a55e96a6a3
14 changed files with 38 additions and 43 deletions
|
|
@ -370,9 +370,9 @@ describe('Server Config (config.ts)', () => {
|
|||
// Spy after initial refresh to ensure model switch does not re-trigger refreshAuth.
|
||||
const refreshSpy = vi.spyOn(config, 'refreshAuth');
|
||||
|
||||
await config.switchModel(AuthType.QWEN_OAUTH, 'vision-model');
|
||||
await config.switchModel(AuthType.QWEN_OAUTH, 'qwen3.5-plus');
|
||||
|
||||
expect(config.getModel()).toBe('vision-model');
|
||||
expect(config.getModel()).toBe('qwen3.5-plus');
|
||||
expect(refreshSpy).not.toHaveBeenCalled();
|
||||
// Called once during initial refreshAuth + once during handleModelChange diffing.
|
||||
expect(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue