Conversation
ca521b1 to
224ed6d
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ca521b190f
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| module Phase | ||
| extend OpenAI::Internal::Type::Enum | ||
|
|
||
| COMMENTARY = :commentary |
There was a problem hiding this comment.
Add
final_answer to phase enum
The new phase support is incomplete: EasyInputMessage::Phase (and similarly ResponseOutputMessage::Phase) only declares :commentary, but the field documentation in these same models says messages can be tagged as "commentary" or "final_answer". When responses include phase: "final_answer", this value will not match the enum module checks and won’t be exposed as a typed enum value, which breaks the intended “preserve and resend phase” workflow for follow-up requests.
Useful? React with 👍 / 👎.
224ed6d to
33c2664
Compare
|
🤖 Release is at https://github.com/openai/openai-ruby/releases/tag/v0.51.0 🌻 |
Automated Release PR
0.51.0 (2026-02-24)
Full Changelog: v0.50.0...v0.51.0
Features
Bug Fixes
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions