mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-01-26 18:12:47 +08:00
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:
parent
4f67d0c794
commit
5a73bf6761
@ -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
|
||||
|
@ -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'"
|
||||
|
@ -96,7 +96,6 @@ async def make_chat(
|
||||
client: 用于与AI模型进行通信
|
||||
msg: 消息内容
|
||||
model_name: 指定AI模型名"""
|
||||
|
||||
return await client.complete(
|
||||
messages=msg,
|
||||
model=model_name,
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user