diff --git a/nonebot_plugin_marshoai/handler.py b/nonebot_plugin_marshoai/handler.py index 4a3380a..a4a5c4a 100644 --- a/nonebot_plugin_marshoai/handler.py +++ b/nonebot_plugin_marshoai/handler.py @@ -251,6 +251,14 @@ class MarshoHandler: expired_at=timedelta(minutes=5), ) ) + # send_message.append( + # Argot( + # "debug", + # Text(str(response)), + # command=f"debug", + # expired_at=timedelta(minutes=5), + # ) + # ) await send_message.send(reply_to=True) return UserMessage(content=user_message), choice_msg_after elif choice.finish_reason == CompletionsFinishReason.CONTENT_FILTERED: diff --git a/nonebot_plugin_marshoai/utils/processor.py b/nonebot_plugin_marshoai/utils/processor.py index 5cda2ef..3b3065a 100644 --- a/nonebot_plugin_marshoai/utils/processor.py +++ b/nonebot_plugin_marshoai/utils/processor.py @@ -83,5 +83,5 @@ async def process_completion_to_details(completion: ChatCompletion) -> str: 模型: {completion.model} 消息 ID: {completion.id} 用量信息: {usage_text}""" - print(details_text) + # print(details_text) return details_text diff --git a/pyproject.toml b/pyproject.toml index 66ccd89..878b596 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ authors = [ ] dependencies = [ "nonebot2>=2.4.0", - "nonebot-plugin-alconna>=0.57.0", + "nonebot-plugin-alconna>=0.57.1", "nonebot-plugin-localstore>=0.7.1", "zhDatetime>=2.0.0", "aiohttp>=3.9",