fix: use correct type for Anthropic client options
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
ea760b5695
commit
a43e0b40e8
|
|
@ -35,7 +35,7 @@ export class ClaudeAgentService implements OnModuleInit {
|
||||||
|
|
||||||
onModuleInit() {
|
onModuleInit() {
|
||||||
const proxyUrl = this.configService.get<string>('ANTHROPIC_PROXY_URL');
|
const proxyUrl = this.configService.get<string>('ANTHROPIC_PROXY_URL');
|
||||||
const clientOptions: Anthropic.ClientOptions = {
|
const clientOptions: ConstructorParameters<typeof Anthropic>[0] = {
|
||||||
apiKey: this.configService.get<string>('ANTHROPIC_API_KEY'),
|
apiKey: this.configService.get<string>('ANTHROPIC_API_KEY'),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue