From 03bb5aaf012a9add53d574ae5e8438340e6965b1 Mon Sep 17 00:00:00 2001 From: Askhz <1361267452@qq.com> Date: Tue, 28 Apr 2026 09:57:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=20costrict=20=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=20is3P=20=E5=88=A4=E6=96=AD=EF=BC=8C=E6=B6=88?= =?UTF-8?q?=E9=99=A4=E7=99=BB=E5=BD=95=E5=90=8E"Not=20logged=20in"?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- src/utils/auth.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/auth.ts b/src/utils/auth.ts index aa722cf07..2e3168fa4 100644 --- a/src/utils/auth.ts +++ b/src/utils/auth.ts @@ -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 ||