From 23e84de8308dfc9c93979155cfe2d47fd1a8887e Mon Sep 17 00:00:00 2001 From: teknium1 Date: Sat, 7 Mar 2026 09:48:19 -0800 Subject: [PATCH] refactor: remove model parameter from AIAgent initialization Eliminated the model parameter from the AIAgent class initialization, streamlining the constructor and ensuring consistent behavior across agent instances. This change aligns with recent updates to the task delegation logic. --- run_agent.py | 1 - 1 file changed, 1 deletion(-) diff --git a/run_agent.py b/run_agent.py index dc6eb7e1a2..00c43657b2 100644 --- a/run_agent.py +++ b/run_agent.py @@ -2619,7 +2619,6 @@ class AIAgent: context=function_args.get("context"), toolsets=function_args.get("toolsets"), tasks=tasks_arg, - model=function_args.get("model"), max_iterations=function_args.get("max_iterations"), parent_agent=self, )