mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 12:40:44 +00:00
fix: refine auth message to give explicit tip
This commit is contained in:
parent
ded1ebcdff
commit
5ea841dd02
9 changed files with 148 additions and 71 deletions
|
|
@ -149,7 +149,7 @@ describe('validateAuthMethod', () => {
|
|||
process.env['CUSTOM_ANTHROPIC_KEY'] = 'custom-key';
|
||||
|
||||
const result = validateAuthMethod(AuthType.USE_ANTHROPIC);
|
||||
expect(result).toContain('ANTHROPIC_BASE_URL');
|
||||
expect(result).toContain('modelProviders[].baseUrl');
|
||||
});
|
||||
|
||||
it('should return null for USE_VERTEX_AI with custom envKey', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue