Skip to content

Commit 654ffb2

Browse files
committed
Update magentic_agent_factory.py
1 parent 0b11fb1 commit 654ffb2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/v4/magentic_agents/magentic_agent_factory.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ def __init__(self, team_service: Optional[TeamService] = None):
4141
# with open(file_path, 'r') as f:
4242
# data = json.load(f)
4343
# return json.loads(json.dumps(data), object_hook=lambda d: SimpleNamespace(**d))
44+
4445
# Ensure only an explicit boolean True in the source sets this flag.
45-
def extract_use_reasoning(agent_obj):
46+
def extract_use_reasoning(self, agent_obj):
4647
# Support both dict and attribute-style objects
4748
if isinstance(agent_obj, dict):
4849
val = agent_obj.get("use_reasoning", False)

0 commit comments

Comments
 (0)