Revert "fix: solves the malformed json output and pydantic validation error p…" (#325)

This reverts commit a7315b46df.
This commit is contained in:
Willem Jiang 2025-06-14 22:04:03 +08:00 committed by GitHub
parent b6edc0fc8a
commit b09dfa70c0
1 changed files with 1 additions and 2 deletions

View File

@ -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"])