Skip to content

Conversation

@etraut-openai
Copy link
Collaborator

Normally, all tool calls within a saved session should have a response, but there are legitimate reasons for the response to be missing. This can occur if the user canceled the call or there was an error of some sort during the rollout. We shouldn't panic in this case.

This is a partial fix for #7990

Normally, all tool calls within a saved session should have a response, but there are legitimate reasons for the response to be missing. This can occur if the user canceled the call or there was an error of some sort during the rollout. We shouldn't panic in this case.

This is a partial fix for #7990
@etraut-openai etraut-openai changed the title Do not panic when session contains a tool call without a response Do not panic when session contains a tool call without an output Dec 15, 2025
@etraut-openai etraut-openai merged commit 1e3cad9 into main Dec 15, 2025
26 checks passed
@etraut-openai etraut-openai deleted the etraut/function_call_panic branch December 15, 2025 06:16
@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 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.

3 participants