nonebot-plugin-ai-groupmate 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nonebot_plugin_ai_groupmate-1.0.0/PKG-INFO +155 -0
- nonebot_plugin_ai_groupmate-1.0.0/README.md +116 -0
- nonebot_plugin_ai_groupmate-1.0.0/pyproject.toml +117 -0
- nonebot_plugin_ai_groupmate-1.0.0/src/nonebot_plugin_ai_groupmate/SourceHanSans.otf +0 -0
- nonebot_plugin_ai_groupmate-1.0.0/src/nonebot_plugin_ai_groupmate/__init__.py +479 -0
- nonebot_plugin_ai_groupmate-1.0.0/src/nonebot_plugin_ai_groupmate/agent/__init__.py +588 -0
- nonebot_plugin_ai_groupmate-1.0.0/src/nonebot_plugin_ai_groupmate/agent//344/270/212/345/215/207.jpg +0 -0
- nonebot_plugin_ai_groupmate-1.0.0/src/nonebot_plugin_ai_groupmate/agent//344/270/213/351/231/215.jpg +0 -0
- nonebot_plugin_ai_groupmate-1.0.0/src/nonebot_plugin_ai_groupmate/config.py +19 -0
- nonebot_plugin_ai_groupmate-1.0.0/src/nonebot_plugin_ai_groupmate/migrations/6a6a44d58ced_first_revision.py +98 -0
- nonebot_plugin_ai_groupmate-1.0.0/src/nonebot_plugin_ai_groupmate/milvus/__init__.py +271 -0
- nonebot_plugin_ai_groupmate-1.0.0/src/nonebot_plugin_ai_groupmate/model.py +83 -0
- nonebot_plugin_ai_groupmate-1.0.0/src/nonebot_plugin_ai_groupmate/stop_words.txt +2311 -0
- nonebot_plugin_ai_groupmate-1.0.0/src/nonebot_plugin_ai_groupmate/utils.py +416 -0
- nonebot_plugin_ai_groupmate-1.0.0/src/nonebot_plugin_ai_groupmate/vlm.py +102 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: nonebot-plugin-ai-groupmate
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: miyuki
|
|
5
|
+
Author: yaowan233
|
|
6
|
+
Author-email: yaowan233 <572473053@qq.com>
|
|
7
|
+
Requires-Dist: datasets>=3.4.1
|
|
8
|
+
Requires-Dist: einops>=0.8.1
|
|
9
|
+
Requires-Dist: expiringdict>=1.2.2
|
|
10
|
+
Requires-Dist: flagembedding>=1.3.5
|
|
11
|
+
Requires-Dist: jieba>=0.42.1
|
|
12
|
+
Requires-Dist: langchain>=1.1.0
|
|
13
|
+
Requires-Dist: langchain-openai>=1.0.3
|
|
14
|
+
Requires-Dist: langchain-tavily>=0.2.13
|
|
15
|
+
Requires-Dist: matplotlib>=3.10.1
|
|
16
|
+
Requires-Dist: nonebot-adapter-onebot>=2.4.6
|
|
17
|
+
Requires-Dist: nonebot-plugin-alconna>=0.60.3
|
|
18
|
+
Requires-Dist: nonebot-plugin-apscheduler>=0.5.0
|
|
19
|
+
Requires-Dist: nonebot-plugin-localstore>=0.7.4
|
|
20
|
+
Requires-Dist: nonebot-plugin-orm>=0.8.2
|
|
21
|
+
Requires-Dist: nonebot-plugin-session>=0.3.2
|
|
22
|
+
Requires-Dist: nonebot-plugin-uninfo>=0.10.0
|
|
23
|
+
Requires-Dist: nonebot2>=2.4.4
|
|
24
|
+
Requires-Dist: numpy>=2
|
|
25
|
+
Requires-Dist: ollama>=0.6.1
|
|
26
|
+
Requires-Dist: peft>=0.15.0
|
|
27
|
+
Requires-Dist: pillow>=11.1.0
|
|
28
|
+
Requires-Dist: pymilvus[milvus-lite,model]>=2.6.3
|
|
29
|
+
Requires-Dist: simpleeval>=1.0.3
|
|
30
|
+
Requires-Dist: timm>=1.0.22
|
|
31
|
+
Requires-Dist: torch>=2.7.0
|
|
32
|
+
Requires-Dist: torchaudio>=2.7.0
|
|
33
|
+
Requires-Dist: torchvision>=0.22.0
|
|
34
|
+
Requires-Dist: wordcloud>=1.9.4
|
|
35
|
+
Requires-Python: >=3.10, <3.14
|
|
36
|
+
Project-URL: Homepage, https://github.com/yaowan233/nonebot-plugin-ai-groupmate
|
|
37
|
+
Project-URL: Repository, https://github.com/yaowan233/nonebot-plugin-ai-groupmate
|
|
38
|
+
Description-Content-Type: text/markdown
|
|
39
|
+
|
|
40
|
+
<div align="center">
|
|
41
|
+
<a href="https://v2.nonebot.dev/store">
|
|
42
|
+
<img src="https://raw.githubusercontent.com/fllesser/nonebot-plugin-template/refs/heads/resource/.docs/NoneBotPlugin.svg" width="310" alt="logo"></a>
|
|
43
|
+
|
|
44
|
+
## ✨ nonebot-plugin-ai-groupmate ✨
|
|
45
|
+
[](./LICENSE)
|
|
46
|
+
[](https://pypi.python.org/pypi/nonebot-plugin-ai-groupmate)
|
|
47
|
+
[](https://www.python.org)
|
|
48
|
+
[](https://github.com/astral-sh/uv)
|
|
49
|
+
<br/>
|
|
50
|
+
[](https://github.com/astral-sh/ruff)
|
|
51
|
+
[](https://results.pre-commit.ci/latest/github/yaowan233/nonebot-plugin-ai-groupmate/master)
|
|
52
|
+
[](https://codecov.io/gh/yaowan233/nonebot-plugin-ai-groupmate)
|
|
53
|
+
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
## 📖 介绍
|
|
57
|
+
使用 RAG 技术,自动对聊天历史储存,储存长记忆。学习群内群友发言习惯,使得 bot 更像真人。
|
|
58
|
+
|
|
59
|
+
接入vlm,并且自动学习表情包,自动在群内学习并偷取表情包。
|
|
60
|
+
|
|
61
|
+
使用 langchain,利用 agent 进行决策
|
|
62
|
+
## 💿 安装
|
|
63
|
+
|
|
64
|
+
<details open>
|
|
65
|
+
<summary>使用 nb-cli 安装</summary>
|
|
66
|
+
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
|
|
67
|
+
|
|
68
|
+
nb plugin install nonebot-plugin-ai-groupmate --upgrade
|
|
69
|
+
使用 **pypi** 源安装
|
|
70
|
+
|
|
71
|
+
nb plugin install nonebot-plugin-ai-groupmate --upgrade -i "https://pypi.org/simple"
|
|
72
|
+
使用**清华源**安装
|
|
73
|
+
|
|
74
|
+
nb plugin install nonebot-plugin-ai-groupmate --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
</details>
|
|
78
|
+
|
|
79
|
+
<details>
|
|
80
|
+
<summary>使用包管理器安装</summary>
|
|
81
|
+
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
|
|
82
|
+
|
|
83
|
+
<details open>
|
|
84
|
+
<summary>uv</summary>
|
|
85
|
+
|
|
86
|
+
uv add nonebot-plugin-ai-groupmate
|
|
87
|
+
安装仓库 master 分支
|
|
88
|
+
|
|
89
|
+
uv add git+https://github.com/yaowan233/nonebot-plugin-ai-groupmate@master
|
|
90
|
+
</details>
|
|
91
|
+
|
|
92
|
+
<details>
|
|
93
|
+
<summary>pdm</summary>
|
|
94
|
+
|
|
95
|
+
pdm add nonebot-plugin-ai-groupmate
|
|
96
|
+
安装仓库 master 分支
|
|
97
|
+
|
|
98
|
+
pdm add git+https://github.com/yaowan233/nonebot-plugin-ai-groupmate@master
|
|
99
|
+
</details>
|
|
100
|
+
<details>
|
|
101
|
+
<summary>poetry</summary>
|
|
102
|
+
|
|
103
|
+
poetry add nonebot-plugin-ai-groupmate
|
|
104
|
+
安装仓库 master 分支
|
|
105
|
+
|
|
106
|
+
poetry add git+https://github.com/yaowan233/nonebot-plugin-ai-groupmate@master
|
|
107
|
+
</details>
|
|
108
|
+
|
|
109
|
+
打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入
|
|
110
|
+
|
|
111
|
+
plugins = ["nonebot_plugin_template"]
|
|
112
|
+
|
|
113
|
+
</details>
|
|
114
|
+
|
|
115
|
+
<details>
|
|
116
|
+
<summary>使用 nbr 安装(使用 uv 管理依赖可用)</summary>
|
|
117
|
+
|
|
118
|
+
[nbr](https://github.com/fllesser/nbr) 是一个基于 uv 的 nb-cli,可以方便地管理 nonebot2
|
|
119
|
+
|
|
120
|
+
nbr plugin install nonebot-plugin-ai-groupmate
|
|
121
|
+
使用 **pypi** 源安装
|
|
122
|
+
|
|
123
|
+
nbr plugin install nonebot-plugin-ai-groupmate -i "https://pypi.org/simple"
|
|
124
|
+
使用**清华源**安装
|
|
125
|
+
|
|
126
|
+
nbr plugin install nonebot-plugin-ai-groupmate -i "https://pypi.tuna.tsinghua.edu.cn/simple"
|
|
127
|
+
|
|
128
|
+
</details>
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
## ⚙️ 配置
|
|
132
|
+
|
|
133
|
+
配置说明
|
|
134
|
+
| 配置项 | 必填 | 默认值 | 说明 |
|
|
135
|
+
|:-----:|:----:|:----:|:----:|
|
|
136
|
+
| bot_name | 是 | 无 | bot 名 |
|
|
137
|
+
| reply_probability | 否 | 0.01 | 群内发言概率 |
|
|
138
|
+
| personality_setting | 否 | 无 | 自定义人设 |
|
|
139
|
+
| milvus_uri | 否 | 无 | milvus 地址 |
|
|
140
|
+
| milvus_user | 否 | 无| milvus 用户名 |
|
|
141
|
+
| milvus_password | 否 | 无 | milvus 密码 |
|
|
142
|
+
| tavily_api_key | 否 | 无 | tavily api 密钥 |
|
|
143
|
+
| openai_base_url | 否 | 无| openai 请求地址 |
|
|
144
|
+
| openai_token | 否 | 无 | openai token |
|
|
145
|
+
| openai_model | 否 | 无 | openai 模型名 |
|
|
146
|
+
| vlm_ollama_base_url | 否 | 无| vlm 地址 |
|
|
147
|
+
| vlm_model | 否 | 无 | vlm 模型名 |
|
|
148
|
+
| vlm_provider | 否 | ollama| ollama 或 openai |
|
|
149
|
+
| vlm_openai_base_url | 否 | 无 | vlm openai 请求地址 |
|
|
150
|
+
| vlm_openai_api_key | 否 | 无 | vlm openai api key |
|
|
151
|
+
|
|
152
|
+
## 🎉 使用
|
|
153
|
+
|
|
154
|
+
待补充
|
|
155
|
+
### 指令
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<a href="https://v2.nonebot.dev/store">
|
|
3
|
+
<img src="https://raw.githubusercontent.com/fllesser/nonebot-plugin-template/refs/heads/resource/.docs/NoneBotPlugin.svg" width="310" alt="logo"></a>
|
|
4
|
+
|
|
5
|
+
## ✨ nonebot-plugin-ai-groupmate ✨
|
|
6
|
+
[](./LICENSE)
|
|
7
|
+
[](https://pypi.python.org/pypi/nonebot-plugin-ai-groupmate)
|
|
8
|
+
[](https://www.python.org)
|
|
9
|
+
[](https://github.com/astral-sh/uv)
|
|
10
|
+
<br/>
|
|
11
|
+
[](https://github.com/astral-sh/ruff)
|
|
12
|
+
[](https://results.pre-commit.ci/latest/github/yaowan233/nonebot-plugin-ai-groupmate/master)
|
|
13
|
+
[](https://codecov.io/gh/yaowan233/nonebot-plugin-ai-groupmate)
|
|
14
|
+
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
## 📖 介绍
|
|
18
|
+
使用 RAG 技术,自动对聊天历史储存,储存长记忆。学习群内群友发言习惯,使得 bot 更像真人。
|
|
19
|
+
|
|
20
|
+
接入vlm,并且自动学习表情包,自动在群内学习并偷取表情包。
|
|
21
|
+
|
|
22
|
+
使用 langchain,利用 agent 进行决策
|
|
23
|
+
## 💿 安装
|
|
24
|
+
|
|
25
|
+
<details open>
|
|
26
|
+
<summary>使用 nb-cli 安装</summary>
|
|
27
|
+
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
|
|
28
|
+
|
|
29
|
+
nb plugin install nonebot-plugin-ai-groupmate --upgrade
|
|
30
|
+
使用 **pypi** 源安装
|
|
31
|
+
|
|
32
|
+
nb plugin install nonebot-plugin-ai-groupmate --upgrade -i "https://pypi.org/simple"
|
|
33
|
+
使用**清华源**安装
|
|
34
|
+
|
|
35
|
+
nb plugin install nonebot-plugin-ai-groupmate --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
</details>
|
|
39
|
+
|
|
40
|
+
<details>
|
|
41
|
+
<summary>使用包管理器安装</summary>
|
|
42
|
+
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
|
|
43
|
+
|
|
44
|
+
<details open>
|
|
45
|
+
<summary>uv</summary>
|
|
46
|
+
|
|
47
|
+
uv add nonebot-plugin-ai-groupmate
|
|
48
|
+
安装仓库 master 分支
|
|
49
|
+
|
|
50
|
+
uv add git+https://github.com/yaowan233/nonebot-plugin-ai-groupmate@master
|
|
51
|
+
</details>
|
|
52
|
+
|
|
53
|
+
<details>
|
|
54
|
+
<summary>pdm</summary>
|
|
55
|
+
|
|
56
|
+
pdm add nonebot-plugin-ai-groupmate
|
|
57
|
+
安装仓库 master 分支
|
|
58
|
+
|
|
59
|
+
pdm add git+https://github.com/yaowan233/nonebot-plugin-ai-groupmate@master
|
|
60
|
+
</details>
|
|
61
|
+
<details>
|
|
62
|
+
<summary>poetry</summary>
|
|
63
|
+
|
|
64
|
+
poetry add nonebot-plugin-ai-groupmate
|
|
65
|
+
安装仓库 master 分支
|
|
66
|
+
|
|
67
|
+
poetry add git+https://github.com/yaowan233/nonebot-plugin-ai-groupmate@master
|
|
68
|
+
</details>
|
|
69
|
+
|
|
70
|
+
打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入
|
|
71
|
+
|
|
72
|
+
plugins = ["nonebot_plugin_template"]
|
|
73
|
+
|
|
74
|
+
</details>
|
|
75
|
+
|
|
76
|
+
<details>
|
|
77
|
+
<summary>使用 nbr 安装(使用 uv 管理依赖可用)</summary>
|
|
78
|
+
|
|
79
|
+
[nbr](https://github.com/fllesser/nbr) 是一个基于 uv 的 nb-cli,可以方便地管理 nonebot2
|
|
80
|
+
|
|
81
|
+
nbr plugin install nonebot-plugin-ai-groupmate
|
|
82
|
+
使用 **pypi** 源安装
|
|
83
|
+
|
|
84
|
+
nbr plugin install nonebot-plugin-ai-groupmate -i "https://pypi.org/simple"
|
|
85
|
+
使用**清华源**安装
|
|
86
|
+
|
|
87
|
+
nbr plugin install nonebot-plugin-ai-groupmate -i "https://pypi.tuna.tsinghua.edu.cn/simple"
|
|
88
|
+
|
|
89
|
+
</details>
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## ⚙️ 配置
|
|
93
|
+
|
|
94
|
+
配置说明
|
|
95
|
+
| 配置项 | 必填 | 默认值 | 说明 |
|
|
96
|
+
|:-----:|:----:|:----:|:----:|
|
|
97
|
+
| bot_name | 是 | 无 | bot 名 |
|
|
98
|
+
| reply_probability | 否 | 0.01 | 群内发言概率 |
|
|
99
|
+
| personality_setting | 否 | 无 | 自定义人设 |
|
|
100
|
+
| milvus_uri | 否 | 无 | milvus 地址 |
|
|
101
|
+
| milvus_user | 否 | 无| milvus 用户名 |
|
|
102
|
+
| milvus_password | 否 | 无 | milvus 密码 |
|
|
103
|
+
| tavily_api_key | 否 | 无 | tavily api 密钥 |
|
|
104
|
+
| openai_base_url | 否 | 无| openai 请求地址 |
|
|
105
|
+
| openai_token | 否 | 无 | openai token |
|
|
106
|
+
| openai_model | 否 | 无 | openai 模型名 |
|
|
107
|
+
| vlm_ollama_base_url | 否 | 无| vlm 地址 |
|
|
108
|
+
| vlm_model | 否 | 无 | vlm 模型名 |
|
|
109
|
+
| vlm_provider | 否 | ollama| ollama 或 openai |
|
|
110
|
+
| vlm_openai_base_url | 否 | 无 | vlm openai 请求地址 |
|
|
111
|
+
| vlm_openai_api_key | 否 | 无 | vlm openai api key |
|
|
112
|
+
|
|
113
|
+
## 🎉 使用
|
|
114
|
+
|
|
115
|
+
待补充
|
|
116
|
+
### 指令
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "nonebot-plugin-ai-groupmate"
|
|
3
|
+
version = "1.0.0"
|
|
4
|
+
description = "miyuki"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.10,<3.14"
|
|
7
|
+
authors = [
|
|
8
|
+
{name = "yaowan233", email = "572473053@qq.com"},
|
|
9
|
+
]
|
|
10
|
+
dependencies = [
|
|
11
|
+
"datasets>=3.4.1",
|
|
12
|
+
"einops>=0.8.1",
|
|
13
|
+
"expiringdict>=1.2.2",
|
|
14
|
+
"flagembedding>=1.3.5",
|
|
15
|
+
"jieba>=0.42.1",
|
|
16
|
+
"langchain>=1.1.0",
|
|
17
|
+
"langchain-openai>=1.0.3",
|
|
18
|
+
"langchain-tavily>=0.2.13",
|
|
19
|
+
"matplotlib>=3.10.1",
|
|
20
|
+
"nonebot-adapter-onebot>=2.4.6",
|
|
21
|
+
"nonebot-plugin-alconna>=0.60.3",
|
|
22
|
+
"nonebot-plugin-apscheduler>=0.5.0",
|
|
23
|
+
"nonebot-plugin-localstore>=0.7.4",
|
|
24
|
+
"nonebot-plugin-orm>=0.8.2",
|
|
25
|
+
"nonebot-plugin-session>=0.3.2",
|
|
26
|
+
"nonebot-plugin-uninfo>=0.10.0",
|
|
27
|
+
"nonebot2>=2.4.4",
|
|
28
|
+
"numpy>=2",
|
|
29
|
+
"ollama>=0.6.1",
|
|
30
|
+
"peft>=0.15.0",
|
|
31
|
+
"pillow>=11.1.0",
|
|
32
|
+
"pymilvus[milvus-lite,model]>=2.6.3",
|
|
33
|
+
"simpleeval>=1.0.3",
|
|
34
|
+
"timm>=1.0.22",
|
|
35
|
+
"torch>=2.7.0",
|
|
36
|
+
"torchaudio>=2.7.0",
|
|
37
|
+
"torchvision>=0.22.0",
|
|
38
|
+
"wordcloud>=1.9.4",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
[dependency-groups]
|
|
42
|
+
dev = [
|
|
43
|
+
"bump-my-version>=1.2.4",
|
|
44
|
+
"nonebot2[fastapi]>=2.4.4,<3.0.0",
|
|
45
|
+
"poethepoet>=0.36.0",
|
|
46
|
+
"ruff>=0.14.5,<1.0.0",
|
|
47
|
+
]
|
|
48
|
+
test = [
|
|
49
|
+
"nb-cli>=1.5.0",
|
|
50
|
+
"nonebot-adapter-onebot>=2.4.6,<3.0.0",
|
|
51
|
+
"nonebot-plugin-orm[default]>=0.8.2",
|
|
52
|
+
"nonebot2[fastapi]>=2.4.4,<3.0.0",
|
|
53
|
+
"nonebug>=0.3.7,<1.0.0",
|
|
54
|
+
"poethepoet>=0.36.0",
|
|
55
|
+
"pytest-asyncio>=1.3.0,<1.4.0",
|
|
56
|
+
"pytest-cov>=7.0.0",
|
|
57
|
+
"pytest-xdist>=3.8.0,<4.0.0",
|
|
58
|
+
]
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
[build-system]
|
|
62
|
+
requires = ["uv_build>=0.9.2,<0.10.0"]
|
|
63
|
+
build-backend = "uv_build"
|
|
64
|
+
|
|
65
|
+
[tool.ruff]
|
|
66
|
+
line-length = 300
|
|
67
|
+
target-version = "py310"
|
|
68
|
+
|
|
69
|
+
[tool.ruff.lint]
|
|
70
|
+
select = ["E", "W", "F", "UP", "C", "T", "PYI", "PT", "Q", "I"]
|
|
71
|
+
ignore = ["C901", "T201", "E731", "E402"]
|
|
72
|
+
|
|
73
|
+
[tool.ruff.lint.isort]
|
|
74
|
+
force-sort-within-sections = true
|
|
75
|
+
|
|
76
|
+
[tool.nonebot]
|
|
77
|
+
adapters = []
|
|
78
|
+
plugins = ["nonebot_plugin_ai_groupmate"]
|
|
79
|
+
|
|
80
|
+
[tool.poe.tasks]
|
|
81
|
+
test = "pytest --cov=src --cov-report xml --junitxml=./junit.xml -n auto"
|
|
82
|
+
bump = "bump-my-version bump"
|
|
83
|
+
show-bump = "bump-my-version show-bump"
|
|
84
|
+
|
|
85
|
+
[tool.pyright]
|
|
86
|
+
pythonVersion = "3.10"
|
|
87
|
+
pythonPlatform = "All"
|
|
88
|
+
defineConstant = { PYDANTIC_V2 = true }
|
|
89
|
+
executionEnvironments = [
|
|
90
|
+
{ root = "./tests", extraPaths = [
|
|
91
|
+
"./src",
|
|
92
|
+
] },
|
|
93
|
+
{ root = "./src" },
|
|
94
|
+
]
|
|
95
|
+
typeCheckingMode = "standard"
|
|
96
|
+
disableBytesTypePromotions = true
|
|
97
|
+
|
|
98
|
+
[tool.pytest.ini_options]
|
|
99
|
+
addopts = [
|
|
100
|
+
"-v", # 详细输出
|
|
101
|
+
"-s", # 显示打印信息
|
|
102
|
+
"--tb=short", # 简短的错误回溯
|
|
103
|
+
"-ra", # 显示所有测试结果摘要
|
|
104
|
+
"--strict-markers", # 严格标记模式
|
|
105
|
+
"--import-mode=prepend", # 导入模式
|
|
106
|
+
]
|
|
107
|
+
pythonpath = ["src"]
|
|
108
|
+
asyncio_mode = "auto"
|
|
109
|
+
asyncio_default_fixture_loop_scope = "session"
|
|
110
|
+
|
|
111
|
+
[project.urls]
|
|
112
|
+
Homepage = "https://github.com/yaowan233/nonebot-plugin-ai-groupmate"
|
|
113
|
+
Repository = "https://github.com/yaowan233/nonebot-plugin-ai-groupmate"
|
|
114
|
+
|
|
115
|
+
[tool.uv]
|
|
116
|
+
required-version = ">=0.9.0"
|
|
117
|
+
default-groups = ["test", "dev"]
|