From 8b3833aed6f7e3a6a649d69e1183a6107c8d030f Mon Sep 17 00:00:00 2001 From: zxstty Date: Wed, 19 Nov 2025 14:27:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84fact=20summary=E7=AD=89call?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=A4=A7=E6=A8=A1=E5=9E=8B=E7=9A=84=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/scheduler/call/facts/facts.py | 3 +-- apps/scheduler/call/summary/summary.py | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/scheduler/call/facts/facts.py b/apps/scheduler/call/facts/facts.py index 5194cc8b6..6f8511825 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 db331abb2..fbffe6789 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) -- Gitee