Skip to content

Conversation

bolinfest
Copy link
Collaborator

@bolinfest bolinfest commented Jun 3, 2025

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().

@bolinfest bolinfest merged commit c6fcec5 into main Jun 3, 2025
9 checks passed
@bolinfest bolinfest deleted the pr1207 branch June 3, 2025 16:40
@github-actions github-actions bot locked and limited conversation to collaborators Jun 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant