diff --git a/api/core/agent/patterns/function_call.py b/api/core/agent/patterns/function_call.py index f4d91de8d2..7d771d7444 100644 --- a/api/core/agent/patterns/function_call.py +++ b/api/core/agent/patterns/function_call.py @@ -92,7 +92,6 @@ class FunctionCallStrategy(AgentPattern): tools=current_tools, stop=stop, stream=stream, - user=self.context.user_id, callbacks=[], ) diff --git a/api/core/agent/patterns/react.py b/api/core/agent/patterns/react.py index 179ccdb734..8a64373a12 100644 --- a/api/core/agent/patterns/react.py +++ b/api/core/agent/patterns/react.py @@ -114,7 +114,6 @@ class ReActStrategy(AgentPattern): model_parameters=model_parameters, stop=stop, stream=stream, - user=self.context.user_id or "", callbacks=[], )