Skip to content

Commit

Permalink
Allow Anthropic APIs to send request in sites
Browse files Browse the repository at this point in the history
  • Loading branch information
Taewan-P authored Dec 13, 2024
1 parent 0ee357d commit 6894a1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/apis/claude-api.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export async function generateAnswersWithClaudeApi(port, question, session) {
'Content-Type': 'application/json',
'anthropic-version': '2023-06-01',
'x-api-key': config.claudeApiKey,
'anthropic-dangerous-direct-browser-access': true,
},
body: JSON.stringify({
model,
Expand Down

0 comments on commit 6894a1c

Please sign in to comment.