diff --git a/src/graph/nodes.py b/src/graph/nodes.py index 5ed4cd9..5fa574e 100644 --- a/src/graph/nodes.py +++ b/src/graph/nodes.py @@ -106,8 +106,7 @@ def planner_node( elif AGENT_LLM_MAP["planner"] == "basic": llm = get_llm_by_type("basic").with_structured_output( Plan, - method="json_schema", - strict=True, + method="json_mode", ) else: llm = get_llm_by_type(AGENT_LLM_MAP["planner"])