Skip to content

Commit f328ea0

Browse files
Taewan-PjosStorer
authored andcommitted
Allow Anthropic APIs to send request in sites
1 parent 0ee357d commit f328ea0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/apis/claude-api.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export async function generateAnswersWithClaudeApi(port, question, session) {
3030
'Content-Type': 'application/json',
3131
'anthropic-version': '2023-06-01',
3232
'x-api-key': config.claudeApiKey,
33+
'anthropic-dangerous-direct-browser-access': true,
3334
},
3435
body: JSON.stringify({
3536
model,

0 commit comments

Comments
 (0)