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.
This commit is contained in:
teknium1
2026-03-07 09:48:19 -08:00
parent 48e0dc8791
commit 23e84de830

View File

@@ -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,
)