jack 2 weeks ago
parent
commit
2bf398d7f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/core/runner/thread_runner.py

+ 1 - 1
app/core/runner/thread_runner.py

@@ -457,7 +457,7 @@ class ThreadRunner:
                 #chat_messages.append(msg_util.new_message(role, assistant_content, message.reasoning_content))
 
         chat_messages.reverse()  # 倒序排列,最新的消息在前面
-        return chat_messages[:6]  # 暂时只支持5条消息,后续正价token上限
+        return chat_messages  # 暂时只支持5条消息,后续正价token上限
 
     def __convert_assistant_tool_calls_to_chat_messages(self, run_step: RunStep):
         """