File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -676,9 +676,7 @@ export class ClaudeAcpAgent implements Agent {
676676 // When using the gateway service, text/thinking is streamed via stream_event,
677677 // so skip them here to avoid duplication.
678678 const content = message . message . content ;
679- const isUsingGatewayService = ! ! (
680- process . env . LLM_GATEWAY_URL
681- ) ;
679+ const isUsingGatewayService = ! ! process . env . LLM_GATEWAY_URL ;
682680 const contentToProcess =
683681 isUsingGatewayService && Array . isArray ( content )
684682 ? content . filter (
@@ -687,7 +685,7 @@ export class ClaudeAcpAgent implements Agent {
687685 : content ;
688686
689687 for ( const notification of toAcpNotifications (
690- contentToProcess ,
688+ contentToProcess as typeof content ,
691689 message . message . role ,
692690 params . sessionId ,
693691 this . toolUseCache ,
Original file line number Diff line number Diff line change @@ -519,7 +519,6 @@ Generated by PostHog Agent`;
519519
520520 private ensureOpenAIGatewayEnv ( gatewayUrl ?: string , token ?: string ) : void {
521521 const resolvedGatewayUrl = gatewayUrl || process . env . ANTHROPIC_BASE_URL ;
522- console . log ( "resolvedGatewayUrl" , resolvedGatewayUrl ) ;
523522 const resolvedToken = token || process . env . ANTHROPIC_AUTH_TOKEN ;
524523
525524 if ( resolvedGatewayUrl ) {
You can’t perform that action at this time.
0 commit comments