Clean up streaming code (#1133)

Co-authored-by: Seth Weidman <sethweidman@Seths-MacBook-Pro.local>
pull/1141/head
Seth Weidman 4 weeks ago committed by GitHub
parent 43bd32a3ee
commit a92a1d2fab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -553,7 +553,7 @@
"print(f\"Full response received {chunk_time:.2f} seconds after request\")\n",
"# clean None in collected_messages\n",
"collected_messages = [m for m in collected_messages if m is not None]\n",
"full_reply_content = ''.join([m for m in collected_messages])\n",
"full_reply_content = ''.join(collected_messages)\n",
"print(f\"Full conversation received: {full_reply_content}\")\n"
]
},

Loading…
Cancel
Save