mirror of
https://github.com/openai/codex.git
synced 2026-09-16 12:13:30 +00:00
move uuid stamping callsite to earliest boundary
This commit is contained in:
@@ -46,12 +46,7 @@ pub struct Prompt {
|
||||
|
||||
impl Prompt {
|
||||
pub(crate) fn get_formatted_input(&self) -> Vec<ResponseItem> {
|
||||
let mut input: Vec<ResponseItem> = self
|
||||
.input
|
||||
.clone()
|
||||
.into_iter()
|
||||
.map(ResponseItem::with_generated_metadata_uuid)
|
||||
.collect();
|
||||
let mut input = self.input.clone();
|
||||
|
||||
// when using the *Freeform* apply_patch tool specifically, tool outputs
|
||||
// should be structured text, not json. Do NOT reserialize when using
|
||||
|
||||
Reference in New Issue
Block a user