Skip to content

Order outputs before inputs#6691

Merged
pakrym-oai merged 1 commit intomainfrom
pakrym/order-outputs-before-inputs
Nov 14, 2025
Merged

Order outputs before inputs#6691
pakrym-oai merged 1 commit intomainfrom
pakrym/order-outputs-before-inputs

Conversation

@pakrym-oai
Copy link
Copy Markdown
Collaborator

For better caching performance all output items should be rendered in the order they were produced before all new input items (for example, all function_call before all function_call_output).

outputs_to_record.push(item);
}

let all_items_to_record = [outputs_to_record, new_inputs_to_record].concat();
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

calling the function call as output is confusing to me. Because the output is now an new input. I don't have a better name tbh

@pakrym-oai pakrym-oai merged commit cfcc87a into main Nov 14, 2025
23 of 25 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/order-outputs-before-inputs branch November 14, 2025 22:54
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 14, 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.

2 participants