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: 自定义人格和AI绘图的混合聊天BOT #2723

Closed
Alpaca4610 opened this issue May 18, 2024 · 7 comments · Fixed by #2724
Closed

Plugin: 自定义人格和AI绘图的混合聊天BOT #2723

Alpaca4610 opened this issue May 18, 2024 · 7 comments · Fixed by #2724
Labels
Plugin Publish Plugin

Comments

@Alpaca4610
Copy link
Contributor

Alpaca4610 commented May 18, 2024

PyPI 项目名

nonebot-plugin-nai3-bot

插件 import 包名

nonebot_plugin_nai3_bot

标签

[{"label":"NovelAI","color":"#52ea52"},{"label":"NAI3","color":"#52ea52"}]

插件配置项

NAI3_TOKEN="xxxxxxxxxxxxxx"
ONEAPI_KEY="sk-xxxxxxxxxxxxxxxx"
@Alpaca4610 Alpaca4610 added the Plugin Publish Plugin label May 18, 2024
@noneflow
Copy link
Contributor

noneflow bot commented May 18, 2024

📃 商店发布检查结果

Plugin: 自定义人格和AI绘图的混合聊天BOT

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

详情
  • ✅ 项目 nonebot-plugin-nai3-bot 已发布至 PyPI。
  • ✅ 项目 主页 返回状态码 200。
  • ✅ 标签: NovelAI-#52ea52, NAI3-#52ea52。
  • ✅ 插件类型: application。
  • ✅ 插件支持的适配器: nonebot.adapters.onebot.v11。
  • ✅ 插件 加载测试 通过。

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

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

    💪 Powered by NoneFlow

    @Alpaca4610
    Copy link
    Contributor Author

    update

    @noneflow noneflow bot changed the title Plugin: nonebot-plugin-nai3-bot Plugin: 自定义人格和AI绘图的混合聊天BOT May 18, 2024
    @yanyongyu
    Copy link
    Member

    插件内请勿使用requests同步网络请求,你可以使用aiohttp或者httpx代替,以及你的openai请求也应该使用异步接口。

    @Alpaca4610
    Copy link
    Contributor Author

    更新使用AsyncOpenAI和httpx

    @noneflow noneflow bot changed the title Plugin: 自定义人格和AI绘图的混合聊天BOT Plugin: nonebot-plugin-nai3-bot May 19, 2024
    @Alpaca4610
    Copy link
    Contributor Author

    插件内请勿使用requests同步网络请求,你可以使用aiohttp或者httpx代替,以及你的openai请求也应该使用异步接口。

    已更新

    @noneflow noneflow bot changed the title Plugin: nonebot-plugin-nai3-bot Plugin: 自定义人格和AI绘图的混合聊天BOT May 19, 2024
    @yanyongyu
    Copy link
    Member

    小tips,httpx的response.content应该在client关闭前读取。

    @Alpaca4610
    Copy link
    Contributor Author

    httpx的response.content应该在client关闭前读取。

    感谢提醒,下次更新时我改一下

    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