From 6ed672d9966dc335f71852eaa51bbb3ef2d41dfe Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Thu, 20 Nov 2025 21:45:22 +0800 Subject: [PATCH] perf: tips msg for tool call --- src/langbot/pkg/pipeline/wrapper/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/langbot/pkg/pipeline/wrapper/wrapper.py b/src/langbot/pkg/pipeline/wrapper/wrapper.py index 4af5fb00..a1ebc97a 100644 --- a/src/langbot/pkg/pipeline/wrapper/wrapper.py +++ b/src/langbot/pkg/pipeline/wrapper/wrapper.py @@ -96,7 +96,7 @@ class ResponseWrapper(stage.PipelineStage): if result.tool_calls is not None and len(result.tool_calls) > 0: # 有函数调用 function_names = [tc.function.name for tc in result.tool_calls] - reply_text = f'调用函数 {".".join(function_names)}...' + reply_text = f'Call {".".join(function_names)}...' query.resp_message_chain.append( platform_message.MessageChain([platform_message.Plain(text=reply_text)])