mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-07-30 10:49:51 +00:00
修改reset命令,添加pdm.lock (#10)
* 🔧 update command
* 更新 .gitignore,修改 pypi-publish.yml 以删除冲突发布触发条件;调整 marsho.py 中的命令名称;更新使用文档。
This commit is contained in:
@ -33,10 +33,12 @@ MarshoAI 兼容 DeepSeek-R1 模型,你可通过以下步骤来使用:
|
||||
MARSHOAI_TOKEN="<你的 API Key>"
|
||||
MARSHOAI_AZURE_ENDPOINT="https://api.deepseek.com"
|
||||
MARSHOAI_DEFAULT_MODEL="deepseek-reasoner"
|
||||
MARSHOAI_ENABLE_PLUGINS=false
|
||||
```
|
||||
你可修改 `MARSHOAI_DEFAULT_MODEL` 为 其它模型名来调用其它 DeepSeek 模型。
|
||||
:::tip
|
||||
如果使用 one-api 作为中转,你可将 `MARSHOAI_AZURE_ENDPOINT` 设置为 one-api 的地址,将 `MARSHOAI_TOKEN` 设为 one-api 配置的令牌,在 one-api 中添加 DeepSeek 渠道。
|
||||
如果使用 one-api 作为中转,你可将 `MARSHOAI_AZURE_ENDPOINT` 设置为 one-api 的地址,将 `MARSHOAI_TOKEN` 设为 one-api 配置的令牌,在 one-api 中添加 DeepSeek 渠道。
|
||||
同样可使用其它提供商(例如 [SiliconFlow](https://siliconflow.cn/))提供的 DeepSeek 等模型。
|
||||
:::
|
||||
|
||||
### 使用 vLLM 部署本地模型
|
||||
|
Reference in New Issue
Block a user