Skip to content

feat(cli): add explicit provider override - #222

Merged
zpzjzj merged 2 commits into
mainfrom
feat/explicit-provider
Sep 2, 2026
Merged

zpzjzj merged 2 commits into
mainfrom
feat/explicit-provider

Conversation

@zpzjzj

@zpzjzj zpzjzj commented Aug 31, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • add an explicit skill-up run --provider override
  • preserve the complete --model value as opaque when the provider is explicit
  • retain legacy --model provider/name disambiguation when --provider is absent
  • let the root GitHub Action detect support through static run --help output and fall back to its historical translation for older CLIs or engine-deferred runs

Compatibility

  • existing v1alpha1 YAML remains unchanged
  • historical CLI calls using --model provider/name remain supported
  • older installed CLIs used by the root Action keep receiving the folded legacy model reference
  • Action runs with engine: '' preserve protocol-neutral endpoint routing until eval YAML selects the adapter
  • local agent login remains untouched; capability detection does not make a model request or consume tokens

Validation

  • make verify
  • make test
  • make test-action
  • make build

Part of #196. This PR is intentionally independent of #221; the adapter materialization follow-up can build on both after they merge.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-08-31T03:41:56.849561Z 3a459c5 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: 3a459c5e64

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

Comment thread action/main.py Resolved

@JHWang-1997 JHWang-1997 left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed 569516c. The explicit provider override has the expected precedence, preserves opaque model IDs, and keeps legacy provider/model parsing when the flag is absent. The Action falls back cleanly for older CLIs, and the engine-deferred path now keeps its protocol-neutral routing. CI is green; make test-action and go test -race ./... pass locally. No blocking issues.

One small documentation follow-up: action.yml still says provider is ignored when base-url is set, but with an explicit engine and a new CLI it is passed through as --provider. That description should be updated.

@zpzjzj
zpzjzj added this pull request to the merge queue Sep 2, 2026
Merged via the queue into main with commit 8f3cf28 Sep 2, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants