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: githubmodels #2944

Closed
lyqgzbl opened this issue Sep 12, 2024 · 10 comments · Fixed by #2945
Closed

Plugin: githubmodels #2944

lyqgzbl opened this issue Sep 12, 2024 · 10 comments · Fixed by #2945
Labels
Plugin Publish Plugin

Comments

@lyqgzbl
Copy link
Contributor

lyqgzbl commented Sep 12, 2024

PyPI 项目名

nonebot-plugin-githubmodels

插件 import 包名

nonebot_plugin_githubmodels

标签

[]

插件配置项

GITHUB_TOKEN="hxjxnfkdmzjs"
@lyqgzbl lyqgzbl added the Plugin Publish Plugin label Sep 12, 2024
noneflow bot pushed a commit that referenced this issue Sep 12, 2024
@noneflow
Copy link
Contributor

noneflow bot commented Sep 12, 2024

📃 商店发布检查结果

Plugin: githubmodels

✅ 所有测试通过,一切准备就绪!

详情
  • ✅ 项目 nonebot-plugin-githubmodels 已发布至 PyPI。
  • ✅ 项目 主页 返回状态码 200。
  • ✅ 插件类型: application。
  • ✅ 插件支持的适配器: 所有。
  • ✅ 插件 加载测试 通过。

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

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

    💪 Powered by NoneFlow

    @noneflow noneflow bot changed the title Plugin: nonebot-plugin-githubmodels Plugin: githubmodels Sep 12, 2024
    noneflow bot pushed a commit that referenced this issue Sep 14, 2024
    @yanyongyu
    Copy link
    Member

    你插件依赖里nonebot2多了fastapi extra,请删除。另外你的openai client使用了同步方法,请使用 AsyncOpenAI。你的插件不依赖ob适配器,请删除依赖,更新元数据。

    noneflow bot pushed a commit that referenced this issue Sep 14, 2024
    noneflow bot pushed a commit that referenced this issue Sep 15, 2024
    @lyqgzbl
    Copy link
    Contributor Author

    lyqgzbl commented Sep 15, 2024

    update

    noneflow bot pushed a commit that referenced this issue Sep 15, 2024
    @yanyongyu
    Copy link
    Member

    yanyongyu commented Sep 16, 2024

    你插件读取配置项的方法不正确,另外你依赖的nb版本应该是 2.2.1+ ,元数据也缺少支持的适配器,请显式声明支持所有适配器。

    noneflow bot pushed a commit that referenced this issue Sep 16, 2024
    noneflow bot pushed a commit that referenced this issue Sep 19, 2024
    noneflow bot pushed a commit that referenced this issue Sep 20, 2024
    noneflow bot pushed a commit that referenced this issue Sep 20, 2024
    noneflow bot pushed a commit that referenced this issue Sep 20, 2024
    noneflow bot pushed a commit that referenced this issue Sep 21, 2024
    noneflow bot pushed a commit that referenced this issue Sep 24, 2024
    noneflow bot pushed a commit that referenced this issue Sep 26, 2024
    @yanyongyu
    Copy link
    Member

    @lyqgzbl 是否有更新?

    noneflow bot pushed a commit that referenced this issue Sep 26, 2024
    @lyqgzbl
    Copy link
    Contributor Author

    lyqgzbl commented Sep 26, 2024

    已更新

    @yanyongyu
    Copy link
    Member

    你配置读取的方式依然不正确啊,参考文档使用 get_plugin_config

    @lyqgzbl
    Copy link
    Contributor Author

    lyqgzbl commented Sep 28, 2024

    更新了

    @yanyongyu
    Copy link
    Member

    插件配置项应该全部小写,另外你依赖了pydantic v2的写法,你可以直接替换成通用的 Field(gt=0)

    noneflow bot pushed a commit that referenced this issue Sep 28, 2024
    @lyqgzbl
    Copy link
    Contributor Author

    lyqgzbl commented Sep 29, 2024

    更新了

    noneflow bot pushed a commit that referenced this issue Sep 29, 2024
    noneflow bot pushed a commit that referenced this issue Sep 29, 2024
    noneflow bot pushed a commit that referenced this issue Sep 30, 2024
    @noneflow noneflow bot closed this as completed in #2945 Sep 30, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Plugin Publish Plugin
    Development

    Successfully merging a pull request may close this issue.

    2 participants