From a43e0b40e82d9d52e2867d918313bb6594c355dd Mon Sep 17 00:00:00 2001 From: hailin Date: Fri, 9 Jan 2026 20:44:03 -0800 Subject: [PATCH] fix: use correct type for Anthropic client options Co-Authored-By: Claude Opus 4.5 --- .../src/infrastructure/claude/claude-agent.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/services/conversation-service/src/infrastructure/claude/claude-agent.service.ts b/packages/services/conversation-service/src/infrastructure/claude/claude-agent.service.ts index c98179c..d23fd94 100644 --- a/packages/services/conversation-service/src/infrastructure/claude/claude-agent.service.ts +++ b/packages/services/conversation-service/src/infrastructure/claude/claude-agent.service.ts @@ -35,7 +35,7 @@ export class ClaudeAgentService implements OnModuleInit { onModuleInit() { const proxyUrl = this.configService.get('ANTHROPIC_PROXY_URL'); - const clientOptions: Anthropic.ClientOptions = { + const clientOptions: ConstructorParameters[0] = { apiKey: this.configService.get('ANTHROPIC_API_KEY'), };