-
Notifications
You must be signed in to change notification settings - Fork 0
[WRONG BRANCH] fix(clinepass): repair legacy low-only configs #281
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
base: main
Are you sure you want to change the base?
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 |
|---|---|---|
|
|
@@ -113,7 +113,7 @@ describe("ClinePass reasoning effort capabilities", () => { | |
| "cline-pass": { | ||
| ...config.providers!["cline-pass"], | ||
| reasoningEfforts: ["low"], | ||
| reasoningWireFormat: "gateway-object", | ||
| reasoningWireFormat: undefined, | ||
|
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. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Model the omitted field and retain both regression cases.
As per path instructions, focused regression tests must accompany behavior changes in 🤖 Prompt for AI AgentsSource: Path instructions |
||
| }, | ||
| }, | ||
| }; | ||
|
|
||
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.
When a user intentionally configures canonical ClinePass with
reasoningEfforts: ["low"]and omitsreasoningWireFormatbecause the preset supplies it automatically, this newundefinedbranch treats that valid override as legacy state and replaces it with the full ladder. Requests for higher effort will therefore stop being clamped tolow, potentially increasing latency or usage despite the explicit configuration. Narrow the repair to a signature or persisted migration marker that distinguishes CLI-generated legacy rows from user-authored low-only overrides.AGENTS.md reference: src/AGENTS.md:L10-L10
Useful? React with 👍 / 👎.