This commit is contained in:
Timothy Jaeryang Baek
2026-03-15 17:42:57 -05:00
parent 02d9d07900
commit bcd313c363

View File

@@ -2099,6 +2099,8 @@
return {
role: message.role,
// Preserve output items so backend can reconstruct tool_calls/tool-role messages (temp chats)
...(message.output ? { output: message.output } : {}),
...(message.role === 'user' && imageFiles.length > 0
? {
content: [