feat(core,cli): add Anthropic provider, normalize auth/env config, and centralize logging

This commit is contained in:
tanzhenxin 2025-12-24 19:00:56 +08:00
parent 9f65bd3b39
commit b931d28f35
35 changed files with 1592 additions and 2034 deletions

View file

@ -228,6 +228,7 @@ export const useAuthCommand = (
![
AuthType.QWEN_OAUTH,
AuthType.USE_OPENAI,
AuthType.USE_ANTHROPIC,
AuthType.USE_GEMINI,
AuthType.USE_VERTEX_AI,
].includes(defaultAuthType as AuthType)
@ -240,6 +241,7 @@ export const useAuthCommand = (
validValues: [
AuthType.QWEN_OAUTH,
AuthType.USE_OPENAI,
AuthType.USE_ANTHROPIC,
AuthType.USE_GEMINI,
AuthType.USE_VERTEX_AI,
].join(', '),