This commit is contained in:
Ashwin Bharambe 2025-10-22 12:00:12 -07:00
parent cc4009603b
commit 55ca8a5c50
6 changed files with 49 additions and 60 deletions

View file

@ -148,7 +148,6 @@ class ConversationItemCreateRequest(BaseModel):
)
@json_schema_type
class ConversationItemInclude(StrEnum):
"""
Specify additional output data to include in the model response.

View file

@ -131,7 +131,7 @@ class OpenAIResponsesImpl:
tool_context.recover_tools_from_previous_response(previous_response)
elif conversation is not None:
conversation_items = await self.conversations_api.list(conversation, order="asc")
conversation_items = await self.conversations_api.list_items(conversation, order="asc")
# Use stored messages as source of truth (like previous_response.messages)
stored_messages = await self.responses_store.get_conversation_messages(conversation)