Skip to content

codex-rs-45519e12f39777b65c05ed498503ddcb60beb289-1-rust-v0.0.2506030956

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Jun 17:15
· 12378 commits to main since this release
c6fcec5
fix: always send full instructions when using the Responses API (#1207)

This fixes a longstanding error in the Rust CLI where `codex.rs`
contained an errant `is_first_turn` check that would exclude the user
instructions for subsequent "turns" of a conversation when using the
responses API (i.e., when `previous_response_id` existed).

While here, renames `Prompt.instructions` to `Prompt.user_instructions`
since we now have quite a few levels of instructions floating around.
Also removed an unnecessary use of `clone()` in
`Prompt.get_full_instructions()`.