Skip to content

feat: introduce model adapter abstraction#25

Merged
hackall360 merged 1 commit intodevelopfrom
codex/2025-08-30-add-support-for-custom-models-in-codex-cli
Aug 30, 2025
Merged

feat: introduce model adapter abstraction#25
hackall360 merged 1 commit intodevelopfrom
codex/2025-08-30-add-support-for-custom-models-in-codex-cli

Conversation

@hackall360
Copy link
Owner

Summary

  • add ModelAdapter trait and default OpenAI chat adapter
  • allow providers to declare custom wire APIs and plug adapters into ModelClient
  • document how to register adapters for bring-your-own-model support

Testing

  • just fmt
  • USER=test cargo test -p codex-core

https://chatgpt.com/codex/tasks/task_b_68b2a7c58d0483298dac9c49bc6b0cad

@hackall360 hackall360 merged commit a88b1a5 into develop Aug 30, 2025
2 of 5 checks passed
@hackall360 hackall360 deleted the codex/2025-08-30-add-support-for-custom-models-in-codex-cli branch August 30, 2025 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant