fix: 将 costrict 加入 is3P 判断,消除登录后"Not logged in"提示
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fc78a84ccf
commit
03bb5aaf01
|
|
@ -117,6 +117,8 @@ export function isAnthropicAuthEnabled(): boolean {
|
|||
isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) ||
|
||||
isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) ||
|
||||
isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) ||
|
||||
isEnvTruthy(process.env.CLAUDE_CODE_USE_COSTRICT) ||
|
||||
(settings as any).modelType === 'costrict' ||
|
||||
(settings as any).modelType === 'openai' ||
|
||||
(settings as any).modelType === 'gemini' ||
|
||||
!!process.env.OPENAI_BASE_URL ||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user