97 Commits

Author SHA1 Message Date
f1064b65db 重构函数信息获取逻辑;移除示例测试用例文件 2024-12-15 02:51:37 +08:00
4083aba99f 添加开发模式配置;新增入口文件和函数调用处理逻辑;重构文档字符串解析类 2024-12-15 01:06:41 +08:00
52046ba032 更新函数调用模型,添加同步函数类型支持;重构函数信息获取逻辑;新增示例测试用例
Some checks failed
Deploy VitePress site to Pages / build (push) Failing after 38s
Pre-commit checks / pre-commit (3.11) (push) Successful in 2m40s
Pre-commit checks / pre-commit (3.10) (push) Successful in 3m19s
Pre-commit checks / pre-commit (3.12) (push) Successful in 3m19s
Pre-commit checks / pre-commit (3.13) (push) Successful in 3m23s
Pytest API Testing / Pytest (3.11) (push) Failing after 2m10s
Pytest API Testing / Pytest (3.10) (push) Failing after 2m51s
Pytest API Testing / Pytest (3.12) (push) Failing after 2m46s
Pytest API Testing / Pytest (3.13) (push) Failing after 2m39s
2024-12-14 19:56:42 +08:00
2229a60a05 🔒️ 修正权限问题 2024-12-14 19:16:59 +08:00
3f969ecf33 添加插件加载模块及相关模型,支持插件的动态加载与管理;新增天气、环境和时间获取功能;重构工具函数;删除不再使用的文件 2024-12-14 05:08:24 +08:00
a9938d30ed 🎨 Apply black formatting 2024-12-14 04:43:03 +08:00
59e0871840 🎨 Apply black formatting 2024-12-14 03:34:54 +08:00
7b47606039 🎨 Apply black formatting 2024-12-14 03:33:59 +08:00
23f9a6dde4 添加插件加载模块及相关模型,支持插件的动态加载与管理 2024-12-14 03:32:56 +08:00
40f1982708 🎨 修复导入语句,添加类型忽略注释以提高代码兼容性 2024-12-14 01:50:08 +08:00
53d9cfb15a 🎨 Apply black formatting 2024-12-14 01:15:29 +08:00
bf409f8564 更新 .pre-commit-config.yaml,添加 isort 钩子;优化配置文件格式;更新 pyproject.toml 中的作者信息
All checks were successful
Pre-commit checks / pre-commit (3.11) (push) Successful in 6m17s
Pre-commit checks / pre-commit (3.10) (push) Successful in 6m20s
Pre-commit checks / pre-commit (3.12) (push) Successful in 5m47s
Pre-commit checks / pre-commit (3.13) (push) Successful in 6m31s
Pytest API Testing / Pytest (3.10) (push) Successful in 4m30s
Pytest API Testing / Pytest (3.11) (push) Successful in 4m16s
Pytest API Testing / Pytest (3.12) (push) Successful in 3m50s
Pytest API Testing / Pytest (3.13) (push) Successful in 4m23s
2024-12-13 19:05:17 +08:00
26009a3335 🎨 更新 .pre-commit-config.yaml,启用额外的钩子;优化代码格式,确保一致性;更新 pyproject.toml,添加新作者信息 2024-12-13 18:59:28 +08:00
849cc24968 🎨 Apply black formatting 2024-12-13 18:53:47 +08:00
9792a2c61f 修复字符串格式化中的引号使用,确保正确生成图像链接 2024-12-13 03:47:23 +08:00
e179543742 添加 mk_common.py 和 mk_info.py 文件,提供随机转盘和数字计算功能 2024-12-13 03:31:58 +08:00
81d9508f74 删除 mk_Common.py 和 mk_Info.py 文件,移除不再使用的功能 2024-12-13 03:31:44 +08:00
4581cab264 💩 不要用这种大小写命名规则,在大小写不敏感系统或文件系统上会搞出一堆问题 2024-12-13 03:11:48 +08:00
8f5b05c51a 重构 meogirl 模块,统一导入命名并添加类型忽略注释 2024-12-13 02:49:24 +08:00
5797381824 更新 mypy 版本至 1.13.0,重构 marshoai-megakits 模块并添加随机数和计算功能 2024-12-13 02:40:55 +08:00
8defcfdd66 🎨 更新 Python 依赖版本至 3.10,新增 pre-commit 工作流及配置文件 2024-12-13 02:23:38 +08:00
Nya_Twisuki
1a34e9b167
新增 Introduce 功能, 将其从 Search 分离 (#25)
* 修复了style和script标签无法去除的问题

* 添加了图片展示 & 统一了引号格式

* 添加了图片展示 & 统一了引号格式

* 统一引号格式并异步处理函数

* 新增了Introduce功能

* 新增了Introduce功能并将其从Search中分离
2024-12-13 00:34:50 +08:00
Nya_Twisuki
b939a48b0b
统一格式(无实质改动) & 添加了图片 (#23)
* 修复了style和script标签无法去除的问题

* 添加了图片展示 & 统一了引号格式

* 添加了图片展示 & 统一了引号格式

* 统一引号格式并异步处理函数
2024-12-12 13:47:28 +08:00
2aba05d9ae 修复完成 2024-12-11 18:37:36 +08:00
086f21272f 修改, 但搜索功能完全无法使用了 2024-12-11 18:09:08 +08:00
ccb12f0f63 改成异步了, 改完彻底不能用了 2024-12-11 01:50:06 +08:00
bb2f59eae9 接入萌娘百科搜索 2024-12-11 00:12:22 +08:00
4ca5324f69 new file: nonebot_plugin_marshoai/tools/marshoai-meogirl/__init__.py
new file:   nonebot_plugin_marshoai/tools/marshoai-meogirl/mg_Info.py
	new file:   nonebot_plugin_marshoai/tools/marshoai-meogirl/tools.json
2024-12-10 00:30:13 +08:00
910f68398c 新增禁用工具包的配置项 2024-12-07 17:14:06 +08:00
580f01d844 modified: nonebot_plugin_marshoai/tools/marshoai-megakits/mk_NyaCode.py 2024-12-07 14:15:40 +08:00
a13d49a06e 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
2024-12-05 18:54:22 +08:00
4f67d0c794 deleted: nonebot_plugin_marshoai/tools/marshoai-megakits/a.py
new file:   nonebot_plugin_marshoai/tools/marshoai-megakits/mk_Common.py
	new file:   nonebot_plugin_marshoai/tools/marshoai-megakits/mk_Info.py
	new file:   nonebot_plugin_marshoai/tools/marshoai-megakits/mk_MorseCode.py
	new file:   nonebot_plugin_marshoai/tools/marshoai-megakits/mk_NyaCode.py
	nonebot_plugin_marshoai/tools/marshoai-megakits/__init__.py
	nonebot_plugin_marshoai/tools/marshoai-megakits/tools.json
2024-12-05 13:45:54 +08:00
4f92bdd6b6 modified: nonebot_plugin_marshoai/models.py
nonebot_plugin_marshoai/tools/marshoai-megakits/__init__.py
	nonebot_plugin_marshoai/tools/marshoai-megakits/tools.json
2024-12-05 13:13:01 +08:00
5d1cdecfc0 modified: nonebot_plugin_marshoai/models.py
new file:   nonebot_plugin_marshoai/tools/marshoai-megakits/a.py
	nonebot_plugin_marshoai/tools/marshoai-megakits/__init__.py
	nonebot_plugin_marshoai/tools/marshoai-megakits/tools.json
2024-12-05 12:29:42 +08:00
a9b0ba42cc 更改description 2024-12-02 13:27:45 +08:00
f76755ed47 更新LICENSE 2024-12-02 13:23:06 +08:00
83803ddb73 修复ssl问题(不使用https) 2024-12-02 13:15:14 +08:00
4b12424221 修复拼写错误,但未修复Linux ssl错误 2024-12-02 01:45:50 +08:00
金羿ELS
d6d417a784
完成消息体内 LaTeX 内容渲染功能 (#15)
* 确实,现在可以处理 LaTeX 渲染了,欢迎 PR 新的渲染网址。

* 意外的小问题

* 删掉一个小数点

* 单词拼错了,马上四级,不知道能不能过

* 我是傻逼

* ok,但我肚子痛,等去蹲个坑
2024-12-02 00:38:07 +08:00
4999ed5294 修复已知bug 2024-11-30 18:03:50 +08:00
a888442311 把回复消息中的 图片 全部插入消息体;
Black格式化代码
2024-11-30 03:40:10 +08:00
075a529aa1 新增加载外部工具集的配置项,修复依赖 2024-11-27 13:38:11 +08:00
Rikka-desu
8af65405d5 修复我也忘记修复了什么的bug 2024-11-24 16:34:42 +08:00
Rikka-desu
2b4d8a939a 修复了部分情况下at聊天出现问题的bug 2024-11-24 16:11:42 +08:00
Rikka-desu
677fa98a3f 修复了输入marsho会触发的bug 2024-11-24 16:03:38 +08:00
Rikka-desu
62f49eb381 修复了at时输入命令会导致聊天也触发的bug 2024-11-24 15:59:06 +08:00
轩某Rikka
398ffbee70
Merge branch 'LiteyukiStudio:main' into main 2024-11-24 15:56:37 +08:00
Rikka-desu
ce1d2f21ae 添加了at时响应 2024-11-24 15:00:44 +08:00
25942a5e9a 新增marshoai-bangumi工具包 2024-11-24 14:48:49 +08:00
8221fa7928 新增是否启用新yaml配置的配置项,更新readme 2024-11-24 11:23:03 +08:00