mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-04-25 11:18:22 +00:00
Revert "fix: solves the malformed json output and pydantic validation error p…" (#325)
This reverts commit a7315b46df1ecf7a59b1b8c80dd7cf2adc8552ad.
This commit is contained in:
parent
19fa1e97c3
commit
4fb053b6d2
@ -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"])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user