Skip to content

Commit

Permalink
Merge pull request #10 from nkulkarni/nkulkarni-enable-other-base-urls
Browse files Browse the repository at this point in the history
enable other base urls if you have middleware
  • Loading branch information
corbt authored Oct 24, 2024
2 parents 61c8d09 + 80688f5 commit 1c9a522
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/store/anthropic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ dotenv.config();

export const anthropic = new Anthropic({
apiKey: process.env.ANTHROPIC_API_KEY,
baseURL: process.env.ANTHROPIC_BASE_URL || 'https://api.anthropic.com',
});

0 comments on commit 1c9a522

Please sign in to comment.