jack 1 месяц назад
Родитель
Сommit
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,