GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(server): Grok Build effort, auth, rewind, and usage [WIP - for content] by t3dotgg · Pull Request #6383 · pingdotgg/t3code Conversation
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Thread transfer impact
This comment will update automatically after the next completed run. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
exactOptionalPropertyTypes rejected passing string | undefined into the optional effort fields, which also leaked unknown into the adapter Effect error channel. Made with Grok 4.6.
Do not carry an old effort onto a new model. Count steered prompts when rewinding. Lock rollback against a replaced session. Keep one default effort in the composer menu. Made with Grok 4.6.
| if (advertised.includes(requested)) { | ||
| return requested; | ||
| } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Medium acp/GrokAcpSupport.ts:266
requestedGrokReasoningEffort discards every requested effort when advertised is empty, so the UI's selected value is not passed to either the initial --reasoning-effort spawn or session/set_model. The adapter intentionally calls this with [] before discovery, and fallback capabilities can also be shown without a session menu; accept the requested value when the advertisement is empty, while still validating it when choices are available.
| if (advertised.includes(requested)) { | |
| return requested; | |
| } | |
| if (advertised.length === 0 || advertised.includes(requested)) { | |
| return requested; | |
| } |
In file @apps/server/src/provider/acp/GrokAcpSupport.ts around lines 266-268:
`requestedGrokReasoningEffort` discards every requested effort when `advertised` is empty, so the UI's selected value is not passed to either the initial `--reasoning-effort` spawn or `session/set_model`. The adapter intentionally calls this with `[]` before discovery, and fallback capabilities can also be shown without a session menu; accept the requested value when the advertisement is empty, while still validating it when choices are available.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| const choices = [...unique.values()]; | ||
| const current = trimmedString(meta.reasoningEffort); | ||
| const defaultId = current ?? choices.find((choice) => choice.isDefault)?.id; | ||
| const supportsReasoningEffort = meta.supportsReasoningEffort === true || choices.length > 0; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Medium acp/GrokAcpSupport.ts:205
parseGrokAcpModelMeta reports supportsReasoningEffort: true when _meta.supportsReasoningEffort is true but reasoningEfforts is empty, so GrokProvider calls grokReasoningEffortCapabilities([]) and exposes no Reasoning selector instead of using FALLBACK_CAPABILITIES. Set this flag only when at least one effort choice was discovered so thin-discovery responses take the fallback path.
| const supportsReasoningEffort = meta.supportsReasoningEffort === true || choices.length > 0; | |
| const supportsReasoningEffort = choices.length > 0; |
In file @apps/server/src/provider/acp/GrokAcpSupport.ts around line 205:
`parseGrokAcpModelMeta` reports `supportsReasoningEffort: true` when `_meta.supportsReasoningEffort` is true but `reasoningEfforts` is empty, so `GrokProvider` calls `grokReasoningEffortCapabilities([])` and exposes no Reasoning selector instead of using `FALLBACK_CAPABILITIES`. Set this flag only when at least one effort choice was discovered so thin-discovery responses take the fallback path.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 39ed592. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| if (!requested) { | ||
| return undefined; | ||
| } | ||
| if (advertised.includes(requested)) { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Medium Severity
requestedGrokReasoningEffort now requires the value to appear in advertised, but startSession still calls it with an empty list before spawn. That makes requestedStartEffort always undefined, so --reasoning-effort is never passed to the Grok CLI. The same rule also drops composer effort whenever session menus are empty, even though the provider UI can still show fallback effort options.
Reviewed by Cursor Bugbot for commit 39ed592. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Needs human review 2 blocking correctness issues found. This PR introduces multiple new Grok provider capabilities (reasoning effort, rewind, usage tracking, auth detection) with significant new logic across several files. Additionally, there are unresolved Medium-severity findings identifying bugs in the effort propagation logic that prevent the selected reasoning effort from reaching the Grok CLI. You can customize Macroscope's approvability policy. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
closing as superseded. #7070 explicitly supersedes this PR and carries the useful Grok work forward on a newer base. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…lot results (T3-359) Shadow-only evaluation of project, workflow, main-model and subagent-tier routing by Jev and Luna against a frozen current-behaviour and keyword baseline, with deterministic hard constraints, declared abstain and fallback, blind two-labeler references, a small managed-role downstream comparison and retained results. Outcome: revise. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Build: pingdotgg#6383
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.