diff --git a/apps/scheduler/call/facts/facts.py b/apps/scheduler/call/facts/facts.py index 5194cc8b6fcb437e7767b1021092756636bbf09a..6f8511825dd85e439a3d41683ba021799c85e32e 100644 --- a/apps/scheduler/call/facts/facts.py +++ b/apps/scheduler/call/facts/facts.py @@ -61,8 +61,7 @@ class FactsCall(CoreCall, input_model=FactsInput, output_model=FactsOutput): name=executor.step.step.name, description=executor.step.step.description, node=node, - llm_id=llm_id, - enable_thinking=enable_thinking, + llm_id=executor.func_call_llm_id, **kwargs, ) diff --git a/apps/scheduler/call/summary/summary.py b/apps/scheduler/call/summary/summary.py index db331abb2ca5a8a137fc831b953e65c7632c63bd..fbffe6789bbc6c1207c26ad81bc5f73e37b2d5e8 100644 --- a/apps/scheduler/call/summary/summary.py +++ b/apps/scheduler/call/summary/summary.py @@ -46,16 +46,13 @@ class Summary(CoreCall, input_model=DataBase, output_model=SummaryOutput): async def instance(cls, executor: "StepExecutor", node: NodePool | None, **kwargs: Any) -> Self: """实例化工具""" # 提取 llm_id 和 enable_thinking,避免重复传递 - llm_id = kwargs.pop("llm_id", None) - enable_thinking = kwargs.pop("enable_thinking", False) obj = cls( context=executor.background, name=executor.step.step.name, description=executor.step.step.description, node=node, - llm_id=llm_id, - enable_thinking=enable_thinking, + llm_id=executor.func_call_llm_id, **kwargs, ) await obj._set_input(executor)