Summary:

Test Plan:
This commit is contained in:
Eric Huang 2025-03-12 19:42:51 -07:00
parent e9a63e9592
commit d1b5591c89

View file

@ -547,6 +547,7 @@ async def convert_message_to_openai_dict_new(
raise ValueError(f"Unsupported content type: {type(content)}")
ret = await impl()
return ret
if isinstance(ret, str) or isinstance(ret, list):
return ret
else: