Skip to content

Support OpenAI-compatible endpoints in Codex harness - #234

Open
wsr3005 wants to merge 1 commit into
yc-software:mainfrom
wsr3005:codex/codex-compatible-endpoint
Open

Support OpenAI-compatible endpoints in Codex harness#234
wsr3005 wants to merge 1 commit into
yc-software:mainfrom
wsr3005:codex/codex-compatible-endpoint

Conversation

@wsr3005

@wsr3005 wsr3005 commented Aug 5, 2026

Copy link
Copy Markdown

Summary

  • materialize OPENAI_BASE_URL as Codex's user-level openai_base_url setting inside each isolated harness home
  • preserve API-key isolation without inheriting ambient Codex configuration
  • cover compatible-endpoint configuration with a focused regression test

Testing

  • node --experimental-test-module-mocks --test test/codex-harness.test.ts
  • npm run typecheck
  • npm run lint -- --no-warn-ignored src/harness/codex-harness.ts test/codex-harness.test.ts
  • npx prettier --check src/harness/codex-harness.ts test/codex-harness.test.ts
  • production-shaped local dev instance completed a real Codex turn through an OpenAI-compatible Responses endpoint, including one execute tool call

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

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