This commit is contained in:
Timothy Jaeryang Baek
2026-02-27 16:01:57 -06:00
parent 2d82d260cc
commit 179a4ad9ea
11 changed files with 399 additions and 99 deletions
+2 -1
View File
@@ -210,7 +210,8 @@ def convert_output_to_messages(output: list, raw: bool = False) -> list[dict]:
content = ""
for part in output_parts:
if part.get("type") == "input_text":
content += part.get("text", "")
text_val = part.get("text", "")
content += str(text_val) if not isinstance(text_val, str) else text_val
messages.append(
{