mirror of
https://github.com/agentclientprotocol/claude-agent-acp.git
synced 2026-10-27 04:30:59 +00:00
fix: suppress account assertion if gateway authentication is used (#436)
This commit is contained in:
committed by
GitHub
parent
c40d7bc30f
commit
ff3b97aece
@@ -1407,7 +1407,11 @@ export class ClaudeAcpAgent implements Agent {
|
||||
throw error;
|
||||
}
|
||||
|
||||
if (shouldHideClaudeAuth() && initializationResult.account.subscriptionType) {
|
||||
if (
|
||||
shouldHideClaudeAuth() &&
|
||||
initializationResult.account.subscriptionType &&
|
||||
this.gatewayAuthMeta === null
|
||||
) {
|
||||
throw RequestError.authRequired(
|
||||
undefined,
|
||||
"This integration does not support using claude.ai subscriptions.",
|
||||
|
||||
Reference in New Issue
Block a user