[responsesAPI][2] parse ResponseFunctionToolCallOutputItem (#29383)

Signed-off-by: Andrew Xia <axia@fb.com>
Co-authored-by: Andrew Xia <axia@fb.com>
This commit is contained in:
Andrew Xia
2025-11-25 10:27:26 -08:00
committed by GitHub
co-authored by Andrew Xia
parent 0353d2e162
commit b07555d26f
3 changed files with 25 additions and 4 deletions
+1 -4
View File
@@ -29,7 +29,6 @@ from openai.types.responses import (
ResponseOutputItemAddedEvent,
ResponseOutputItemDoneEvent,
ResponsePrompt,
ResponseReasoningItem,
ResponseReasoningTextDeltaEvent,
ResponseReasoningTextDoneEvent,
ResponseStatus,
@@ -304,9 +303,7 @@ def get_logits_processors(
return None
ResponseInputOutputItem: TypeAlias = (
ResponseInputItemParam | ResponseReasoningItem | ResponseFunctionToolCall
)
ResponseInputOutputItem: TypeAlias = ResponseInputItemParam | ResponseOutputItem
class ResponsesRequest(OpenAIBaseModel):