Skip to content

[WRONG BRANCH] chore: port #1002 into maintainer takeover branch - #1237

Closed
Wibias wants to merge 5 commits into
lidge-jun:agent/maintainer-vision-reasoningfrom
hanjianjun:agent/configurable-vision-reasoning
Closed

[WRONG BRANCH] chore: port #1002 into maintainer takeover branch#1237
Wibias wants to merge 5 commits into
lidge-jun:agent/maintainer-vision-reasoningfrom
hanjianjun:agent/configurable-vision-reasoning

Conversation

@Wibias

@Wibias Wibias commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Internal maintainer port step for #1002. This merges the original contributor branch into the maintainer-owned takeover branch, which was cut from current dev, so the original commits/attribution are preserved before maintainer hardening.

This targets the takeover branch only and is not the final user-facing PR.

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • ^dev$
  • ^preview$

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 0678e649-39b8-4586-a4f5-b5cb32ce9ea5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the chore Maintenance, CI, tests, refactors, or build changes (not a user-facing bug or feature). label Aug 7, 2026
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Deterministic PR hygiene checks passed.

@github-actions github-actions Bot changed the title chore: port #1002 into maintainer takeover branch [WRONG BRANCH] chore: port #1002 into maintainer takeover branch Aug 7, 2026
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

⏳ DRAFT

  • wrong target branch (agent/maintainer-vision-reasoning); retarget to dev.

What to do

  • Retarget this PR to dev — all contributions go to dev.

Its title has been prefixed with [WRONG BRANCH].
This pull request is being kept as a draft automatically. Once every issue above is resolved, it will be marked ready for review again.

@github-actions
github-actions Bot marked this pull request as draft August 7, 2026 20:35
@Wibias Wibias closed this Aug 7, 2026

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

Copy link
Copy Markdown

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.

Reviewed commit: b3018a3e8b

ℹ️ 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".

export function visionReasoningLadder(models: ModelInfo[], modelId: string): VisionReasoning[] {
const model = models.find(m => m.id === modelId);
const ladder = model?.reasoningEfforts;
if (!ladder || ladder.length === 0) return [...VISION_REASONING_LEVELS];

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid offering unsupported efforts when metadata is absent

When the selected vision model is a native OpenAI row, /api/models omits reasoningEfforts, so this fallback exposes every level even though the bundled catalog limits models such as gpt-5.4-mini and gpt-5.5 to low through xhigh. Selecting max is therefore persisted and forwarded unchanged by describeImage, causing the sidecar request to fail instead of describing the image. Include native reasoning metadata in the management rows or use a capability-aware fallback rather than treating missing metadata as full support.

AGENTS.md reference: gui/AGENTS.md:L10-L10

Useful? React with 👍 / 👎.

Comment on lines +336 to +340
<Select
value={visionReasoning}
options={visionReasoningOptionsFor(visionLadder, visionReasoning).map(value => ({ value, label: value }))}
onChange={reasoning => { void saveSidecar({ vision: { reasoning: reasoning as typeof visionReasoning } }); }}
disabled={!sidecar || sidecarSaving}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Hide the ignored reasoning selector for Anthropic vision

When the selected or automatic vision backend is Anthropic, this selector remains enabled and saves a reasoning value even though the Anthropic executor never reads it. The dashboard consequently presents a successfully saved control that has no effect on requests; gate the selector to the effective OpenAI backend or connect it to an Anthropic thinking setting.

AGENTS.md reference: gui/AGENTS.md:L10-L10

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance, CI, tests, refactors, or build changes (not a user-facing bug or feature).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants