mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-06-18 16:57:47 +00:00
🔥 删除无用import
This commit is contained in:
parent
e50c6d9966
commit
ef52db969d
@ -22,10 +22,9 @@ from nonebot_plugin_alconna.uniseg import (
|
||||
Text,
|
||||
UniMessage,
|
||||
UniMsg,
|
||||
get_message_id,
|
||||
get_target,
|
||||
)
|
||||
from nonebot_plugin_argot import Argot
|
||||
from nonebot_plugin_argot import Argot # type: ignore
|
||||
from openai import AsyncOpenAI, AsyncStream
|
||||
from openai.types.chat import ChatCompletion, ChatCompletionChunk, ChatCompletionMessage
|
||||
|
||||
@ -247,7 +246,7 @@ class MarshoHandler:
|
||||
Argot(
|
||||
"detail",
|
||||
Text(await process_completion_to_details(response)),
|
||||
command=f"detail",
|
||||
command="detail",
|
||||
expired_at=timedelta(minutes=5),
|
||||
)
|
||||
)
|
||||
|
@ -23,7 +23,7 @@ from nonebot_plugin_alconna import (
|
||||
message_reaction,
|
||||
on_alconna,
|
||||
)
|
||||
from nonebot_plugin_argot.extension import ArgotExtension
|
||||
from nonebot_plugin_argot.extension import ArgotExtension # type: ignore
|
||||
|
||||
from .config import config
|
||||
from .constants import INTRODUCTION, SUPPORT_IMAGE_MODELS
|
||||
|
Loading…
x
Reference in New Issue
Block a user