Add optional ANTHROPIC_API_BASE_URL

This commit is contained in:
Thomas Mulder
2025-04-22 13:41:59 +02:00
parent ddf0947710
commit b1f3796ec7
6 changed files with 23 additions and 2 deletions

View File

@@ -60,7 +60,8 @@ import {
// Initialize Anthropic client
const anthropic = new Anthropic({
apiKey: process.env.ANTHROPIC_API_KEY
apiKey: process.env.ANTHROPIC_API_KEY,
baseURL: process.env.ANTHROPIC_API_BASE_URL
});
// Import perplexity if available