diff --git a/nonebot_plugin_marshoai/models.py b/nonebot_plugin_marshoai/models.py index 918bd015..0b81b27f 100644 --- a/nonebot_plugin_marshoai/models.py +++ b/nonebot_plugin_marshoai/models.py @@ -1,11 +1,6 @@ -from nonebot_plugin_alconna.uniseg.adapters import module -from requests.packages import package -from six import spec_from_loader - from .util import * from .config import config import os -import re import json import importlib import sys diff --git a/nonebot_plugin_marshoai/tools/marshoai-megakits/mk_Info.py b/nonebot_plugin_marshoai/tools/marshoai-megakits/mk_Info.py index c9611e95..f89bc32c 100644 --- a/nonebot_plugin_marshoai/tools/marshoai-megakits/mk_Info.py +++ b/nonebot_plugin_marshoai/tools/marshoai-megakits/mk_Info.py @@ -4,4 +4,4 @@ def twisuki(): # MegaKits def megakits(): - return "MegaKits插件是一个功能混杂的MarshoAI插件, 由Twisuki(Github : 'https://github.com/Twisuki')开发, 插件仓库 : 'https://github.com/Twisuki/marsho-toolsets/tree/main/Twisuki/marshoai-megakits'" + return "MegaKits插件是一个功能混杂的MarshoAI插件, 由Twisuki(Github : 'https://github.com/Twisuki')开发, 插件仓库 : 'https://github.com/LiteyukiStudio/marsho-toolsets/tree/main/Twisuki/marshoai-megakits'" diff --git a/nonebot_plugin_marshoai/util.py b/nonebot_plugin_marshoai/util.py index 4ca295f7..17f3c1e4 100644 --- a/nonebot_plugin_marshoai/util.py +++ b/nonebot_plugin_marshoai/util.py @@ -96,7 +96,6 @@ async def make_chat( client: 用于与AI模型进行通信 msg: 消息内容 model_name: 指定AI模型名""" - return await client.complete( messages=msg, model=model_name, diff --git a/pyproject.toml b/pyproject.toml index 4f877a06..acb9b864 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,6 @@ plugins = ["nonebot_plugin_marshoai"] # 测试用 adapters = [ { name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11" }, - {name = "Console", module_name = "nonebot.adapters.console"}, ] [tool.pdm]