Skip to content

Commit

Permalink
chore(web): merge the Page implementation of Puppeteer and Playwright (
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyutaotao authored Sep 9, 2024
1 parent eafa5bf commit 30dc7a3
Show file tree
Hide file tree
Showing 36 changed files with 10,103 additions and 205 deletions.
2 changes: 1 addition & 1 deletion packages/midscene/src/ai-model/openai/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export async function callToGetJSONObject<T>(
messages: ChatCompletionMessageParam[],
AIActionTypeValue: AIActionType,
): Promise<T> {
// gpt-4o-2024-05-13 only support json_object response format
// gpt-4o-2024-05-13 only supports json_object response format
let responseFormat:
| OpenAI.ChatCompletionCreateParams['response_format']
| OpenAI.ResponseFormatJSONObject = {
Expand Down
Loading

0 comments on commit 30dc7a3

Please sign in to comment.