jack 10 달 전
부모
커밋
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
         pub MessageDelta
         """
         """
         delta = {
         delta = {
+            "content": [{"index": index, "type": "text", "text": {"value": content}}],
+            "role": "assistant",
             "tools_content": [
             "tools_content": [
                 {
                 {
                     "index": index,
                     "index": index,