jack 5 days ago
parent
commit
3aa3f58a1c
1 changed files with 2 additions and 0 deletions
  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
         pub MessageDelta
         """
         """
         delta = {
         delta = {
+            "content": [{"index": index, "type": "text", "text": {"value": content}}],
+            "role": "assistant",
             "tools_content": [
             "tools_content": [
                 {
                 {
                     "index": index,
                     "index": index,