mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-08-01 22:59:53 +00:00
🐛 修复AI调用名的格式,将点替换为下划线
This commit is contained in:
@ -233,7 +233,7 @@ class Caller:
|
|||||||
@property
|
@property
|
||||||
def aifc_name(self) -> str:
|
def aifc_name(self) -> str:
|
||||||
"""AI调用名,没有点"""
|
"""AI调用名,没有点"""
|
||||||
return self._name.replace(".", "-")
|
return self.full_name.replace(".", "_")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def full_name(self) -> str:
|
def full_name(self) -> str:
|
||||||
|
Reference in New Issue
Block a user