添加Marsho AI插件,整合Azure服务,更新配置和元数据,修复startup加载两次的问题

This commit is contained in:
2024-11-05 20:22:06 +08:00
parent 9dc5951079
commit 8ac81e358f
8 changed files with 97 additions and 67 deletions

View File

@ -12,7 +12,7 @@ dependencies = [
"azure-ai-inference>=1.0.0b4",
"zhDatetime>=1.1.1",
"aiohttp>=3.9",
"httpx>=0.27.0"
"httpx>=0.27.0",
]
license = { text = "MIT" }
@ -22,6 +22,9 @@ Homepage = "https://github.com/LiteyukiStudio/nonebot-plugin-marshoai"
[tool.nonebot]
plugins = ["nonebot_plugin_marshoai"]
adapters = [
{ name = "OneBot V11", module_name = "nonebot.adapters.onebot.v11" },
]
[tool.pdm]
distribution = true
@ -34,9 +37,7 @@ path = "nonebot_plugin_marshoai/constants.py"
includes = []
[tool.pdm.dev-dependencies]
dev = [
"nb-cli>=1.4.2",
]
dev = ["nb-cli>=1.4.2"]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"