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 and josStorer committed Dec 14, 2024
1 parent 0ee357d commit f328ea0
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 f328ea0

Please sign in to comment.