Skip to content

Conversation

@yuyutaotao
Copy link
Collaborator

No description provided.

@yuyutaotao yuyutaotao requested a review from quanru November 25, 2025 12:06
@netlify
Copy link

netlify bot commented Nov 25, 2025

Deploy Preview for midscene ready!

Name Link
🔨 Latest commit 6ff09ff
🔍 Latest deploy log https://app.netlify.com/projects/midscene/deploys/6925b6974d05b50008729cbb
😎 Deploy Preview https://deploy-preview-1505--midscene.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +785 to 786
let thinkingLevelToUse = opt?._thinkingLevel;
if (!thinkingLevelToUse && this.opts.aiActionContext) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore thinkingLevel option handling

The aiAct options now only read opt._thinkingLevel, so any caller still passing the documented thinkingLevel flag has its request ignored and the method falls back to the medium/high defaults. For example, packages/web-integration/tests/ai/web/puppeteer/e2e.test.ts:42-44 still passes { thinkingLevel: 'high' }, which will now be treated as if no level was provided. This silently changes planning behaviour for consumers relying on that knob; please continue accepting the existing option or update the call sites.

Useful? React with 👍 / 👎.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👎

Comment on lines 74 to +76
// Check if the modelFamily is valid
if (!MODEL_FAMILY_VALUES.includes(modelFamily as any)) {
throw new Error(`Invalid modelFamily: ${modelFamily}`);
throw new Error(`Invalid MIDSCENE_MODEL_FAMILY value: ${modelFamily}`);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Align invalid modelFamily error with tests

The error message for invalid MIDSCENE_MODEL_FAMILY was changed to Invalid MIDSCENE_MODEL_FAMILY value: …, but packages/shared/tests/unit-test/env/parse.test.ts:52-54 still asserts the previous Invalid modelFamily: invalid. This change causes that unit test to fail and will break the test suite until the message or expectation is brought back into sync.

Useful? React with 👍 / 👎.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@yuyutaotao yuyutaotao merged commit 8183650 into v1 Nov 25, 2025
4 checks passed
@yuyutaotao yuyutaotao deleted the fix/planning-cache branch November 25, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants