update comment

This commit is contained in:
Ashwin Bharambe 2025-10-14 14:45:28 -07:00
parent d47f2c0ba8
commit 540970aa1b

View file

@ -381,7 +381,6 @@ class OpenAIResponsesImpl:
"""Sync content and response messages to the conversation.""" """Sync content and response messages to the conversation."""
conversation_items = [] conversation_items = []
# add user content message(s) -- fix this, it is somewhat hacky and feels non comprehensive
if isinstance(input, str): if isinstance(input, str):
conversation_items.append( conversation_items.append(
OpenAIResponseMessage(role="user", content=[OpenAIResponseInputMessageContentText(text=input)]) OpenAIResponseMessage(role="user", content=[OpenAIResponseInputMessageContentText(text=input)])