Code Monkey home page Code Monkey logo

Comments (5)

RF-Tar-Railt avatar RF-Tar-Railt commented on July 17, 2024 3

请问你是拿记事本写代码的吗?

你跑过自己写的插件吗?就往nb商店发?

from nonebot2.

XTxiaoting14332 avatar XTxiaoting14332 commented on July 17, 2024 1

?

from nonebot2.

XTxiaoting14332 avatar XTxiaoting14332 commented on July 17, 2024 1

诶不是哥们你那是什么东西(

from nonebot2.

forchannot avatar forchannot commented on July 17, 2024 1

第一,使用localstore管理你的数据和缓存文件,而不是到处扔。
第二,不要使用requests来完成网络请求,如果强依赖openai的话,他有有自己的openai-python的异步请求方式,如果不强依赖,则统一使用httpx的异步或者aiohttp进行网络请求
第三,文件管理很混乱,一部分用os.path,一部分又直接相对路径,一部分又用pathlib.Path,建议统一用pathlib.Path(配合第一条)
第四,对你的依赖文件进行版本限制和约束,推荐考虑poetry或者pdm进行依赖管理,而不是自己手打依赖

from nonebot2.

noneflow avatar noneflow commented on July 17, 2024

📃 商店发布检查结果

Plugin: nonebot-plugin-multigpt

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

  • ⚠️ 无法获取到插件元数据。
    请确保插件正常加载。
  • ⚠️ 插件加载测试未通过。
    测试输出插件 nonebot-plugin-multigpt 的信息如下: name : nonebot-plugin-multigpt version : 1.1 description : nonebot插件-多模ai工具 dependencies - aiohttp * - anyio * - nonebot2 * - pillow * - python-docx * - python-pptx * 插件 nonebot-plugin-multigpt 依赖的插件如下: 插件 nonebot_plugin_multigpt 加载出错: 06-08 11:26:10 [SUCCESS] nonebot | NoneBot is initializing... 06-08 11:26:10 [INFO] nonebot | Current Env: prod 06-08 11:26:10 [ERROR] nonebot | Failed to import "nonebot_plugin_multigpt" Traceback (most recent call last): File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-multigpt-nonebot_plugin_multigpt-test/runner.py", line 16, in <module> plugin = load_plugin("nonebot_plugin_multigpt") File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-multigpt-nonebot_plugin_multigpt-test/.venv/lib/python3.12/site-packages/nonebot/plugin/load.py", line 40, in load_plugin return manager.load_plugin(module_path) > File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-multigpt-nonebot_plugin_multigpt-test/.venv/lib/python3.12/site-packages/nonebot/plugin/manager.py", line 167, in load_plugin module = importlib.import_module(self._third_party_plugin_ids[name]) File "/opt/hostedtoolcache/Python/3.12.3/x64/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 "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-multigpt-nonebot_plugin_multigpt-test/.venv/lib/python3.12/site-packages/nonebot/plugin/manager.py", line 255, in exec_module super().exec_module(module) File "<frozen importlib._bootstrap_external>", line 995, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-multigpt-nonebot_plugin_multigpt-test/.venv/lib/python3.12/site-packages/nonebot_plugin_multigpt/__init__.py", line 7, in <module> from nonebot.adapters.onebot.v11 import ( ModuleNotFoundError: No module named 'nonebot.adapters.onebot'
  • 详情
  • ✅ 项目 nonebot-plugin-multigpt 已发布至 PyPI。
  • ✅ 标签: PPT-#ea5252, ai-#ea5252, GPT-#ea5252。

  • 💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
    💡 当插件加载测试失败时,请发布新版本后在当前页面下评论任意内容以触发测试。

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

    💪 Powered by NoneFlow

    from nonebot2.

    Related Issues (20)

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.