refactor: session append重命名为query

This commit is contained in:
RockChinQ
2023-08-05 22:00:32 +08:00
parent 7979a8e97f
commit 1b0ae8da58
2 changed files with 2 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ class Session:
# 请求回复
# 这个函数是阻塞的
def append(self, text: str=None) -> tuple[str, str, list[str]]:
def query(self, text: str=None) -> tuple[str, str, list[str]]:
"""向session中添加一条消息返回接口回复
Args: