Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Kit/add omp provider support - #2

Open
K-Kit wants to merge 2 commits into
mainfrom
kit/add-omp-provider-support
Open

K-Kit wants to merge 2 commits into
mainfrom
kit/add-omp-provider-support

Conversation

@K-Kit

@K-Kit K-Kit commented Jul 10, 2026

Copy link
Copy Markdown
Owner

What Changed

Why

UI Changes

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

@cursor

cursor Bot commented Jul 10, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@github-actions github-actions Bot added size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Jul 10, 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: 1a8c337046

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

spawn: buildOmpAcpSpawnInput(
input.ompSettings,
input.cwd,
input.runtimeMode ?? "full-access",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Do not run text generation in OMP yolo mode

When OMP text generation calls makeOmpAcpRuntime it does not pass a runtime mode, so this fallback starts omp acp with --approval-mode yolo. The shared ACP text-generation path only collects assistant chunks and does not install a permission handler, while its prompts include user-controlled branch/diff content; if that content prompt-injects OMP into using tools, the background commit/PR/title generation flow can execute commands or modify files without any user approval. Use a restricted/approval-required mode for headless text generation instead of defaulting to full access.

Useful? React with πŸ‘Β / πŸ‘Ž.

Comment on lines +107 to +110
currentValue: "auto",
options: [
{ id: "off", label: "Off" },
{ id: "auto", label: "Auto", isDefault: true },

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 dispatching fabricated OMP thinking values

For every reasoning model this fabricates off/auto and makes auto the default even though the discovered model.thinking array is the set of OMP-supported effort values. The composer dispatch path sends descriptor defaults, so an ordinary OMP turn for a model that advertises efforts like minimal/low/medium/high will try to apply thinking=auto (and users can choose off), which the ACP runtime rejects when its thinking config option only contains the advertised efforts. Build the descriptor from the discovered values, or omit the option when no real value was selected.

Useful? React with πŸ‘Β / πŸ‘Ž.

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

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant