⬆️ 升级alconna依赖版本

This commit is contained in:
Asankilp 2025-04-18 22:53:35 +08:00
parent 707f017718
commit 5297607a0b
3 changed files with 10 additions and 2 deletions

View File

@ -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:

View File

@ -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

View File

@ -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",