mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-26 23:34:47 +08:00
fix backend bug
This commit is contained in:
@@ -101,8 +101,10 @@ def planner_node(
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
if AGENT_LLM_MAP["planner"] == "basic" and not configurable.enable_deep_thinking:
|
if configurable.enable_deep_thinking:
|
||||||
llm = get_llm_by_type(AGENT_LLM_MAP["planner"]).with_structured_output(
|
llm = get_llm_by_type("reasoning")
|
||||||
|
elif AGENT_LLM_MAP["planner"] == "basic":
|
||||||
|
llm = get_llm_by_type("basic").with_structured_output(
|
||||||
Plan,
|
Plan,
|
||||||
method="json_mode",
|
method="json_mode",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user