mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-09-24 15:36:23 +00:00
✨ 更新默认模型为 OpenAI GPT-4.1,更新 GitHub Models 相关文档及预置模型列表,更改marshoai_azure_endpoint为marshoai_endpoint
This commit is contained in:
@ -28,11 +28,11 @@ from nonebot_plugin_argot.extension import ArgotExtension # type: ignore
|
||||
from .config import config
|
||||
from .constants import INTRODUCTION, SUPPORT_IMAGE_MODELS
|
||||
from .handler import MarshoHandler
|
||||
from .hooks import *
|
||||
from .hooks import * # noqa: F403
|
||||
from .instances import client, context, model_name, target_list, tools
|
||||
from .metadata import metadata
|
||||
from .plugin.func_call.caller import get_function_calls
|
||||
from .util import *
|
||||
from .util import * # noqa: F403
|
||||
from .utils.processor import process_chat_stream
|
||||
|
||||
|
||||
@ -286,7 +286,7 @@ async def marsho(
|
||||
|
||||
|
||||
with contextlib.suppress(ImportError): # 优化先不做()
|
||||
import nonebot.adapters.onebot.v11 # type: ignore
|
||||
import nonebot.adapters.onebot.v11 # type: ignore # noqa: F401
|
||||
|
||||
from .marsho_onebot import poke_notify
|
||||
|
||||
|
Reference in New Issue
Block a user