-
Notifications
You must be signed in to change notification settings - Fork 750
fix(core): planning cache #1505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -73,7 +73,7 @@ export const modelFamilyToVLConfig = ( | |
|
|
||
| // 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}`); | ||
|
Comment on lines
74
to
+76
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The error message for invalid Useful? React with 👍 / 👎.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
| } | ||
|
|
||
| // For other model families, they directly map to vlMode | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
aiActoptions now only readopt._thinkingLevel, so any caller still passing the documentedthinkingLevelflag 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-44still 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 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👎