Skip to content

fix: require explicit OpenAI Codex selection#657

Merged
pancacake merged 1 commit into
HKUDS:devfrom
Sanjays2402:fix/codex-url-provider-detection
Jul 23, 2026
Merged

fix: require explicit OpenAI Codex selection#657
pancacake merged 1 commit into
HKUDS:devfrom
Sanjays2402:fix/codex-url-provider-detection

Conversation

@Sanjays2402

Copy link
Copy Markdown
Contributor

Description

OpenAI-compatible endpoints whose URL contains codex now remain on their configured provider instead of being forced through the OpenAI Codex OAuth backend.

Related Issues

Module(s) Affected

  • agents
  • api
  • config
  • core
  • knowledge
  • logging
  • services
  • tools
  • utils
  • web (Frontend)
  • docs (Documentation)
  • scripts
  • tests
  • Other: ...

Checklist

  • I have read and followed the contribution guidelines.
  • My code follows the project's coding standards.
  • I have run pre-commit run --all-files and fixed any issues.
  • I have added relevant tests for my changes.
  • I have updated the documentation (if necessary).
  • My changes do not introduce any new security vulnerabilities.

Additional Notes

Focused provider-registry tests and Ruff checks pass.

Stop generic OpenAI-compatible endpoints whose hostname contains codex from being routed through the OAuth-only backend. Add a provider-registry regression test.
@pancacake

Copy link
Copy Markdown
Collaborator

Thanks for your contribution!

@pancacake
pancacake merged commit d0306b8 into HKUDS:dev Jul 23, 2026
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