mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-01-26 18:12:47 +08:00
✨ 移除获取类型参数,更新依赖azure-ai-inference版本,修正版本标签正则表达式
This commit is contained in:
parent
777e577a17
commit
339d0e05bf
@ -16,7 +16,6 @@ headers = {
|
|||||||
description="使用网页链接(url)获取网页内容摘要,可以让AI上网查询资料"
|
description="使用网页链接(url)获取网页内容摘要,可以让AI上网查询资料"
|
||||||
).params(
|
).params(
|
||||||
url=String(description="网页链接"),
|
url=String(description="网页链接"),
|
||||||
typ=String(description="获取类型,摘要还是内容"),
|
|
||||||
)
|
)
|
||||||
async def get_web_content(url: str) -> str:
|
async def get_web_content(url: str) -> str:
|
||||||
"""使用网页链接获取网页内容摘要
|
"""使用网页链接获取网页内容摘要
|
||||||
|
@ -12,7 +12,6 @@ dependencies = [
|
|||||||
"nonebot2>=2.2.0",
|
"nonebot2>=2.2.0",
|
||||||
"nonebot-plugin-alconna>=0.48.0",
|
"nonebot-plugin-alconna>=0.48.0",
|
||||||
"nonebot-plugin-localstore>=0.7.1",
|
"nonebot-plugin-localstore>=0.7.1",
|
||||||
"azure-ai-inference>=1.0.0b4",
|
|
||||||
"zhDatetime>=1.1.1",
|
"zhDatetime>=1.1.1",
|
||||||
"aiohttp>=3.9",
|
"aiohttp>=3.9",
|
||||||
"httpx>=0.27.0",
|
"httpx>=0.27.0",
|
||||||
@ -25,7 +24,8 @@ dependencies = [
|
|||||||
"newspaper3k>=0.2.8",
|
"newspaper3k>=0.2.8",
|
||||||
"lxml[html_clean]>=5.3.0",
|
"lxml[html_clean]>=5.3.0",
|
||||||
"aiofiles>=24.1.0",
|
"aiofiles>=24.1.0",
|
||||||
"sumy>=0.11.0"
|
"sumy>=0.11.0",
|
||||||
|
"azure-ai-inference>=1.0.0b6"
|
||||||
|
|
||||||
]
|
]
|
||||||
license = { text = "MIT, Mulan PSL v2" }
|
license = { text = "MIT, Mulan PSL v2" }
|
||||||
@ -51,7 +51,7 @@ profile = "black"
|
|||||||
[tool.pdm.version]
|
[tool.pdm.version]
|
||||||
source = "scm"
|
source = "scm"
|
||||||
tag_filter = "v*"
|
tag_filter = "v*"
|
||||||
tag_regex = '^v(?:\D*)?(?P<version>([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|c|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$)$'
|
tag_regex = '^v(?:\D*)?(?P<version>([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|c|rc|dev)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?)$'
|
||||||
|
|
||||||
[tool.pdm.build]
|
[tool.pdm.build]
|
||||||
includes = []
|
includes = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user