fix: flaky authentication bypass for gateway (#686)

Sometimes leads to auth required error.
This commit is contained in:
Aleksandr Suhinin
2026-05-18 16:31:51 +03:00
committed by GitHub
parent 505f9c13c0
commit db852dcf7c
2 changed files with 2 additions and 2 deletions

View File

@@ -2277,7 +2277,7 @@ function createEnvForGateway(request?: GatewayAuthRequest) {
return {
ANTHROPIC_BASE_URL: request._meta.gateway.baseUrl,
ANTHROPIC_CUSTOM_HEADERS: customHeaders,
ANTHROPIC_AUTH_TOKEN: "", // Must be specified to bypass claude login requirement
ANTHROPIC_AUTH_TOKEN: " ", // Must be specified to bypass claude login requirement
};
}