Skip to main content

nonebot_plugin_suggarex_cf

Cloudflare Workers AI 协议适配器,用于 SuggarChat

为 SuggarChat 提供 Cloudflare Workers AI 接入支持

📦 安装

提供两种安装方式:

  • 方法一(推荐):

    nb plugin install nonebot-plugin-suggarex-cf
    
  • 方法二(手动安装):

    pip install nonebot_plugin_suggarex_cf
    

    若使用方法二,还需在 pyproject.toml 中手动添加插件名:

    plugins = ["nonebot_plugin_suggarex_cf"]
    

⚙️ 配置

在配置文件中新增了以下字段:

配置项 说明 默认值
cf_user_id Cloudflare Workers AI 用户 ID,请前往 Workers AI 控制台 获取 null

🚀 使用说明

将 Suggar 配置文件中的 protocol 字段设为:

protocol = "cf"

并配置好 token 与模型名称。模型字段填写 Cloudflare Workers AI 的文本生成模型 ID,例如:

model = "llama-3.2-xxxx"

无需使用 @ 进行拼接。具体参数与格式请参考 SuggarChat 官方文档


如果你有任何建议或问题,欢迎提 Issue 或 PR!

Release files for nonebot_plugin_suggarex_cf 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot_plugin_suggarex_cf 2.0.0
File Size Uploaded
nonebot_plugin_suggarex_cf-2.0.0.tar.gz 16.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot_plugin_suggarex_cf 2.0.0
File Interpreter ABI Platform
nonebot_plugin_suggarex_cf-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.7 kB

Release files / nonebot_plugin_suggarex_cf-2.0.0.tar.gz

Download URL nonebot_plugin_suggarex_cf-2.0.0.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7769cdf7e1ebe3d1ce0d3e90e58a06537d9e92f7fb2858c844f43c731bc175ac
BLAKE2b-256 checksum
How to use checksums
12e7fc68a8d1bc5cd85df350555695d2c64cea71e8577fd51081dc06d39d5354
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.6

Release files / nonebot_plugin_suggarex_cf-2.0.0-py3-none-any.whl

Download URL nonebot_plugin_suggarex_cf-2.0.0-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
570bb81d71b69efc41b5f286d10b27d731642a8cfcc90835497394d5148fda15
BLAKE2b-256 checksum
How to use checksums
b76fab7b08a973a20f612fb98f38cd89fa3d5c0e65c3df70936782fd386a4d4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.6
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page