From b4a6b6f44d82c49e19835084fa5f8397d685901e Mon Sep 17 00:00:00 2001 From: Zhou Xiao Date: Mon, 27 Jan 2025 14:05:42 +0800 Subject: [PATCH] chore: change default model name (#333) --- .github/workflows/ai.yml | 2 +- .../tests/ai/web/playwright/ai-auto-todo.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ai.yml b/.github/workflows/ai.yml index fd0318dd5..685c56926 100644 --- a/.github/workflows/ai.yml +++ b/.github/workflows/ai.yml @@ -21,7 +21,7 @@ jobs: env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} OPENAI_BASE_URL: ${{ secrets.OPENAI_BASE_URL }} - MIDSCENE_MODEL_NAME: gpt-4o-2024-08-06 + MIDSCENE_MODEL_NAME: gpt-4o-2024-11-20 CI: 1 # MIDSCENE_DEBUG_AI_PROFILE: 1 diff --git a/packages/web-integration/tests/ai/web/playwright/ai-auto-todo.spec.ts b/packages/web-integration/tests/ai/web/playwright/ai-auto-todo.spec.ts index cf1948688..ff529dd22 100644 --- a/packages/web-integration/tests/ai/web/playwright/ai-auto-todo.spec.ts +++ b/packages/web-integration/tests/ai/web/playwright/ai-auto-todo.spec.ts @@ -31,7 +31,7 @@ test('ai todo', async ({ ai, aiQuery }) => { await ai('Move your mouse over the second item in the task list'); await ai('Click the delete button to the right of the second task'); - await ai('Click the check button to the left of the second task'); + await ai('Click the checkbox next to the second task'); await ai('Click the "completed" Status button below the task list'); const taskList = await aiQuery('string[], tasks in the list');