jack пре 7 месеци
родитељ
комит
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,