From 8b5a57d22302ad001c805f19b008acf6e8de4e73 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Tue, 17 Dec 2024 23:17:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8DAI=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E5=90=8D=E7=9A=84=E6=A0=BC=E5=BC=8F=EF=BC=8C=E5=B0=86?= =?UTF-8?q?=E7=82=B9=E6=9B=BF=E6=8D=A2=E4=B8=BA=E4=B8=8B=E5=88=92=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_marshoai/plugin/func_call/caller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot_plugin_marshoai/plugin/func_call/caller.py b/nonebot_plugin_marshoai/plugin/func_call/caller.py index ad4c77a3..1c740681 100644 --- a/nonebot_plugin_marshoai/plugin/func_call/caller.py +++ b/nonebot_plugin_marshoai/plugin/func_call/caller.py @@ -233,7 +233,7 @@ class Caller: @property def aifc_name(self) -> str: """AI调用名,没有点""" - return self._name.replace(".", "-") + return self.full_name.replace(".", "_") @property def full_name(self) -> str: