mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-06-05 06:25:21 +00:00
⬆️ 升级alconna依赖版本
This commit is contained in:
parent
707f017718
commit
5297607a0b
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user