jack 11 місяців тому
батько
коміт
3aa3f58a1c
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      app/core/runner/pub_handler.py

+ 2 - 0
app/core/runner/pub_handler.py

@@ -344,6 +344,8 @@ class StreamEventHandler:
         pub MessageDelta
         """
         delta = {
+            "content": [{"index": index, "type": "text", "text": {"value": content}}],
+            "role": "assistant",
             "tools_content": [
                 {
                     "index": index,