Skip to content

Commit bacfef0

Browse files
authored
fix: allow claude in extension #241 (#246)
1 parent a1042c8 commit bacfef0

File tree

1 file changed

+1
-0
lines changed
  • packages/midscene/src/ai-model/openai

1 file changed

+1
-0
lines changed

packages/midscene/src/ai-model/openai/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ async function createChatClient({
158158
assert(apiKey, 'ANTHROPIC_API_KEY is required');
159159
openai = new Anthropic({
160160
apiKey,
161+
dangerouslyAllowBrowser: true,
161162
}) as any;
162163
}
163164

0 commit comments

Comments
 (0)