Skip to content

fix(qodercli): pass through explicit model names and IDs - #262

Merged
zpzjzj merged 2 commits into
alibaba:mainfrom
JHWang-1997:fix/qoder-model-passthrough
Sep 21, 2026
Merged

zpzjzj merged 2 commits into
alibaba:mainfrom
JHWang-1997:fix/qoder-model-passthrough

Conversation

@JHWang-1997

@JHWang-1997 JHWang-1997 commented Sep 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Remove both Qoder model allowlists and forward trimmed, case-preserving model names/IDs across initial, stdin, and resumed calls.
  • Preserve historical tier passthrough and omitted-model defaults. Keep Global/CN authentication and provider/API key/base URL isolation unchanged.
  • Include explicit model context in execution errors without falling back to a default model; preserve requested/applied reporting.
  • Update English/Chinese documentation, the changelog, and skill scaffolding expectations.

Closes #247

Verification

  • make fmt
  • make verify (0 issues)
  • make test (go test -race ./...)
  • Review rerun: go test -race ./internal/agent ./internal/credential ./internal/evaluator ./internal/judge
  • git diff --check
  • Commit hooks: go vet, revive, incremental golangci-lint (0 issues)

Regression tests cover historical tiers, concrete and slash-containing model IDs, whitespace, shell quoting, Global/CN command generation, inline/stdin/resume paths, invalid-model/auth/runtime errors, requested/applied metadata, judge resolution, and evaluator retries retaining the explicit model.

Compatibility and Remaining Validation

  • skill-up forwards historical tiers, including lite; actual availability is determined by the installed Qoder CLI and account.
  • Slash-containing CLI model IDs can use an explicit provider to avoid legacy provider/model parsing; YAML engine.model.name preserves the full ID.
  • Live CN, valid custom/BYOK models, and older Qoder versions have not been verified end to end. Mock coverage does not claim upstream availability.
  • No minimum Qoder version is asserted without verification.

@zpzjzj zpzjzj 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.

LGTM

@zpzjzj
zpzjzj added this pull request to the merge queue Sep 21, 2026
Merged via the queue into alibaba:main with commit 4bf6d34 Sep 21, 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.

feat(qodercli): pass through explicit model names and IDs

2 participants