Skip to content

Commit

Permalink
fix: allow claude in extension #241
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyutaotao committed Jan 5, 2025
1 parent a1042c8 commit 18e04d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/midscene/src/ai-model/openai/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ async function createChatClient({
assert(apiKey, 'ANTHROPIC_API_KEY is required');
openai = new Anthropic({
apiKey,
dangerouslyAllowBrowser: true,
}) as any;
}

Expand Down

0 comments on commit 18e04d1

Please sign in to comment.