This commit is contained in:
Timothy Jaeryang Baek
2026-07-27 02:39:11 -04:00
parent d727ee4d1f
commit 3fe03583a3
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -5460,6 +5460,7 @@ async def streaming_chat_response_handler(response, ctx):
)
ctx['assistant_message'] = {
'content': ''.join(content_parts) or get_output_text(output),
'output': output,
**({'usage': usage} if usage else {}),
}