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

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

@@ -124,7 +124,7 @@ class ThreadRunner:
                 session=self.session, thread_id=run.thread_id
             )
         )
-        """
+
         tool_call_messages = []
         for step in run_steps:
             if step.type == "tool_calls" and step.status == "completed":
@@ -132,7 +132,6 @@ class ThreadRunner:
                     self.__convert_assistant_tool_calls_to_chat_messages(step)
                 )
         tool_call_messages = tool_call_messages[:2]
-        """
         # memory
         messages = (
             assistant_system_message