Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin: nonebot_plugin_groups_aichat #3256

Open
1 task
KarisAya opened this issue Jan 12, 2025 · 6 comments · May be fixed by #3258
Open
1 task

Plugin: nonebot_plugin_groups_aichat #3256

KarisAya opened this issue Jan 12, 2025 · 6 comments · May be fixed by #3258
Labels
Plugin Publish Plugin Publish Publish things to store

Comments

@KarisAya
Copy link
Contributor

KarisAya commented Jan 12, 2025

PyPI 项目名

nonebot_plugin_groups_aichat

插件 import 包名

nonebot_plugin_groups_aichat

标签

[{"label":"ChatGPT","color":"#33CC99"},
{"label":"腾讯混元","color":"#157bff"},
{"label":"通义千问","color":"#5416ff"},{"label":"Gemini","color":"#59fb51"},
{"label":"DeepSeek","color":"#3399AA"}]

插件配置项

插件测试

  • 如需重新运行插件测试,请勾选左侧勾选框
@KarisAya KarisAya added Plugin Publish Plugin Publish Publish things to store labels Jan 12, 2025
@noneflow
Copy link
Contributor

noneflow bot commented Jan 12, 2025

📃 商店发布检查结果

Plugin: nonebot_plugin_groups_aichat

⚠️ 在发布检查过程中,我们发现以下问题:

  • ⚠️ 标签: 无法匹配到数据。
    请确保填写该数据项。
  • ⚠️ 插件加载测试未通过。
    测试输出项目 nonebot_plugin_groups_aichat 创建成功。 Virtualenv Python: 3.12.8 Implementation: CPython Path: /app/plugin_test/.venv Executable: /app/plugin_test/.venv/bin/python Valid: True Base Platform: linux OS: posix Python: 3.12.8 Path: /root/.local/share/uv/python/cpython-3.12.8-linux-x86_64-gnu Executable: /root/.local/share/uv/python/cpython-3.12.8-linux-x86_64-gnu/bin/python3.12 Using version ^0.1.2.post1 for nonebot-plugin-groups-aichat Updating dependencies Resolving dependencies... Package operations: 30 installs, 0 updates, 0 removals - Installing typing-extensions (4.12.2) - Installing annotated-types (0.7.0) - Installing certifi (2024.12.14) - Installing h11 (0.14.0) - Installing idna (3.10) - Installing multidict (6.1.0) - Installing propcache (0.2.1) - Installing pydantic-core (2.27.2) - Installing sniffio (1.3.1) - Installing anyio (4.8.0) - Installing exceptiongroup (1.2.2) - Installing httpcore (1.0.7) - Installing pydantic (2.10.6) - Installing yarl (1.18.3) - Installing pygtrie (2.5.0) - Installing loguru (0.7.3) - Installing python-dotenv (1.0.1) - Installing distro (1.9.0) - Installing msgpack (1.1.0) - Installing jiter (0.8.2) - Installing httpx (0.28.1) - Installing toml (0.10.2) - Installing tqdm (4.67.1) - Installing nonebot2 (2.4.1) - Installing clovers (0.3.4) - Installing nonebot-adapter-onebot (2.4.6) - Installing openai (1.60.1) - Installing clovers-aichat (0.2.1) - Installing nonebot-plugin-clovers (0.2.3) - Installing nonebot-plugin-groups-aichat (0.1.2.post1) Writing lock file 插件 nonebot_plugin_groups_aichat 依赖的插件如下: 插件 nonebot_plugin_groups_aichat 的信息如下: name : nonebot-plugin-groups-aichat version : 0.1.2.post1 description : dependencies - clovers-aichat >=0.2.0.post1,<0.3.0 - nonebot-plugin-clovers >=0.2.3,<0.3.0 - nonebot2 >=2.4.1,<3.0.0 插件 nonebot_plugin_groups_aichat 加载出错: 01-28 01:17:48 [SUCCESS] nonebot | NoneBot is initializing... 01-28 01:17:48 [INFO] nonebot | Current Env: prod 01-28 01:17:49 [INFO] clovers_AIchat | 通义千问 - qwen-plus 未设置黑白名单,已在全部群组启用 01-28 01:17:49 [INFO] clovers_AIchat | 腾讯混元 - hunyuan-lite 未设置黑白名单,已在全部群组启用 01-28 01:17:49 [ERROR] nonebot | Failed to import "nonebot_plugin_groups_aichat" Traceback (most recent call last): File "/app/plugin_test/runner.py", line 15, in <module> plugin = load_plugin("nonebot_plugin_groups_aichat") File "/app/plugin_test/.venv/lib/python3.12/site-packages/nonebot/plugin/load.py", line 42, in load_plugin return manager.load_plugin(module_path) > File "/app/plugin_test/.venv/lib/python3.12/site-packages/nonebot/plugin/manager.py", line 169, in load_plugin module = importlib.import_module(self._third_party_plugin_ids[name]) File "/root/.local/share/uv/python/cpython-3.12.8-linux-x86_64-gnu/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "/app/plugin_test/.venv/lib/python3.12/site-packages/nonebot/plugin/manager.py", line 257, in exec_module super().exec_module(module) File "<frozen importlib._bootstrap_external>", line 999, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/app/plugin_test/.venv/lib/python3.12/site-packages/nonebot_plugin_groups_aichat/__init__.py", line 17, in <module> from clovers_AIchat import __plugin__ as plugin File "/app/plugin_test/.venv/lib/python3.12/site-packages/clovers_AIchat/__init__.py", line 77, in <module> ChatType = matchChat(_config) File "/app/plugin_test/.venv/lib/python3.12/site-packages/clovers_AIchat/ai/mix.py", line 22, in matchChat return build_GeminiChat(config) File "/app/plugin_test/.venv/lib/python3.12/site-packages/clovers_AIchat/ai/gemini.py", line 14, in build_Chat _config = Config.model_validate(config) File "/app/plugin_test/.venv/lib/python3.12/site-packages/pydantic/main.py", line 627, in model_validate return cls.__pydantic_validator__.validate_python( pydantic_core._pydantic_core.ValidationError: 1 validation error for Config proxy Field required [type=missing, input_value={'prompt_system': '\n你...http://127.0.0.1:7897'}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.10/v/missing
  • ⚠️ 无法获取到插件元数据。
    请确保插件正常加载。
  • 详情
  • ✅ 项目 nonebot-plugin-groups-aichat 已发布至 PyPI。
  • ✅ 版本号: 0.1.2.post1。
  • ✅ 发布时间:2025-01-27 10:11:56 CST。

  • 💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
    💡 当插件加载测试失败时,请发布新版本后勾选插件测试勾选框重新运行插件测试。

    ♻️ 评论已更新至最新检查结果

    💪 Powered by NoneFlow

    @noneflow noneflow bot changed the title Plugin: nonebot_plugin_groups_aichat Plugin: AI群聊机器人群聊 Jan 12, 2025
    @noneflow noneflow bot linked a pull request Jan 13, 2025 that will close this issue
    @KarisAya
    Copy link
    Contributor Author

    0.1.0.post1

    @yanyongyu
    Copy link
    Member

    yanyongyu commented Jan 14, 2025

    插件数据请不要在机器人目录下创建,请使用 localstore 或提供配置项。插件名称请修改。

    @yanyongyu
    Copy link
    Member

    @KarisAya 是否有更新?

    @KarisAya
    Copy link
    Contributor Author

    0.1.2

    @KarisAya KarisAya changed the title Plugin: AI群聊机器人群聊 Plugin: AI群聊机器人 Jan 27, 2025
    @noneflow noneflow bot changed the title Plugin: AI群聊机器人 Plugin: nonebot_plugin_groups_aichat Jan 27, 2025
    @KarisAya
    Copy link
    Contributor Author

    0.1.2.post1

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Plugin Publish Plugin Publish Publish things to store
    Development

    Successfully merging a pull request may close this issue.

    2 participants