modified: nonebot_plugin_marshoai/models.py

modified:   nonebot_plugin_marshoai/tools/marshoai-megakits/mk_Info.py
	modified:   nonebot_plugin_marshoai/util.py
	modified:   pyproject.toml
	nonebot_plugin_marshoai/tools/marshoai-megakits/__init__.py
	nonebot_plugin_marshoai/tools/marshoai-megakits/tools.json
This commit is contained in:
Twisuki 2024-12-05 18:39:52 +08:00
parent 4f67d0c794
commit 5a73bf6761
4 changed files with 1 additions and 8 deletions

View File

@ -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 .util import *
from .config import config from .config import config
import os import os
import re
import json import json
import importlib import importlib
import sys import sys

View File

@ -4,4 +4,4 @@ def twisuki():
# MegaKits # MegaKits
def 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'"

View File

@ -96,7 +96,6 @@ async def make_chat(
client: 用于与AI模型进行通信 client: 用于与AI模型进行通信
msg: 消息内容 msg: 消息内容
model_name: 指定AI模型名""" model_name: 指定AI模型名"""
return await client.complete( return await client.complete(
messages=msg, messages=msg,
model=model_name, model=model_name,

View File

@ -28,7 +28,6 @@ plugins = ["nonebot_plugin_marshoai"]
# 测试用 # 测试用
adapters = [ adapters = [
{ name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11" }, { name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11" },
{name = "Console", module_name = "nonebot.adapters.console"},
] ]
[tool.pdm] [tool.pdm]