From 339d0e05bf9b9cf8bc526b16dbd8fef261ef4729 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Tue, 17 Dec 2024 14:52:26 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E7=A7=BB=E9=99=A4=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E7=B1=BB=E5=9E=8B=E5=8F=82=E6=95=B0=EF=BC=8C=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=BE=9D=E8=B5=96azure-ai-inference=E7=89=88=E6=9C=AC?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E6=AD=A3=E7=89=88=E6=9C=AC=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E6=AD=A3=E5=88=99=E8=A1=A8=E8=BE=BE=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_marshoai/plugins/builtin_tools/network.py | 1 - pyproject.toml | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/nonebot_plugin_marshoai/plugins/builtin_tools/network.py b/nonebot_plugin_marshoai/plugins/builtin_tools/network.py index 66284c40..37f72da6 100644 --- a/nonebot_plugin_marshoai/plugins/builtin_tools/network.py +++ b/nonebot_plugin_marshoai/plugins/builtin_tools/network.py @@ -16,7 +16,6 @@ headers = { description="使用网页链接(url)获取网页内容摘要,可以让AI上网查询资料" ).params( url=String(description="网页链接"), - typ=String(description="获取类型,摘要还是内容"), ) async def get_web_content(url: str) -> str: """使用网页链接获取网页内容摘要 diff --git a/pyproject.toml b/pyproject.toml index 72116774..d78cf9d6 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,6 @@ dependencies = [ "nonebot2>=2.2.0", "nonebot-plugin-alconna>=0.48.0", "nonebot-plugin-localstore>=0.7.1", - "azure-ai-inference>=1.0.0b4", "zhDatetime>=1.1.1", "aiohttp>=3.9", "httpx>=0.27.0", @@ -25,7 +24,8 @@ dependencies = [ "newspaper3k>=0.2.8", "lxml[html_clean]>=5.3.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" } @@ -51,7 +51,7 @@ profile = "black" [tool.pdm.version] source = "scm" tag_filter = "v*" -tag_regex = '^v(?:\D*)?(?P([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([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] includes = []