We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b11fb1 commit 654ffb2Copy full SHA for 654ffb2
1 file changed
src/backend/v4/magentic_agents/magentic_agent_factory.py
@@ -41,8 +41,9 @@ def __init__(self, team_service: Optional[TeamService] = None):
41
# with open(file_path, 'r') as f:
42
# data = json.load(f)
43
# return json.loads(json.dumps(data), object_hook=lambda d: SimpleNamespace(**d))
44
+
45
# Ensure only an explicit boolean True in the source sets this flag.
- def extract_use_reasoning(agent_obj):
46
+ def extract_use_reasoning(self, agent_obj):
47
# Support both dict and attribute-style objects
48
if isinstance(agent_obj, dict):
49
val = agent_obj.get("use_reasoning", False)
0 commit comments