update based on Copilot review
This commit is contained in:
parent
1ab8396c75
commit
b71fae2dce
6 changed files with 9 additions and 8 deletions
|
|
@ -592,7 +592,7 @@ For complete documentation, see [`../security/security_configuration.md`](../sec
|
|||
| **OpenRouter** | `openrouter` | `https://openrouter.ai/api/v1` | OpenAI | [Get Key](https://openrouter.ai/keys) |
|
||||
| **LiteLLM Proxy** | `litellm` | `http://localhost:4000/v1` | OpenAI | Your LiteLLM proxy key |
|
||||
| **VLLM** | `vllm` | `http://localhost:8000/v1` | OpenAI | Local |
|
||||
| **OVMS** | `ovms/` | `http://localhost:8000/v3` | OpenAI | Local (no key needed) |
|
||||
| **OVMS** | `ovms` | `http://localhost:8000/v3` | OpenAI | Local (no key needed) |
|
||||
| **Cerebras** | `cerebras` | `https://api.cerebras.ai/v1` | OpenAI | [Get Key](https://cerebras.ai) |
|
||||
| **VolcEngine (Doubao)** | `volcengine` | `https://ark.cn-beijing.volces.com/api/v3` | OpenAI | [Get Key](https://www.volcengine.com/activity/codingplan?utm_campaign=PicoClaw&utm_content=PicoClaw&utm_medium=devrel&utm_source=OWO&utm_term=PicoClaw) |
|
||||
| **神算云** | `shengsuanyun` | `https://router.shengsuanyun.com/api/v1` | OpenAI | — |
|
||||
|
|
|
|||
|
|
@ -452,7 +452,7 @@ Agent 读取 HEARTBEAT.md
|
|||
| **OpenRouter** | `openrouter` | `https://openrouter.ai/api/v1` | OpenAI | [获取](https://openrouter.ai/keys) |
|
||||
| **LiteLLM Proxy** | `litellm` | `http://localhost:4000/v1` | OpenAI | 你的 LiteLLM 代理 Key |
|
||||
| **VLLM** | `vllm` | `http://localhost:8000/v1` | OpenAI | 本地 |
|
||||
| **OVMS** | `ovms/` | `http://localhost:8000/v3` | OpenAI | 本地(无需密钥) |
|
||||
| **OVMS** | `ovms` | `http://localhost:8000/v3` | OpenAI | 本地(无需密钥) |
|
||||
| **Cerebras** | `cerebras` | `https://api.cerebras.ai/v1` | OpenAI | [获取](https://cerebras.ai) |
|
||||
| **火山引擎 (豆包)** | `volcengine` | `https://ark.cn-beijing.volces.com/api/v3` | OpenAI | [获取](https://www.volcengine.com/activity/codingplan?utm_campaign=PicoClaw&utm_content=PicoClaw&utm_medium=devrel&utm_source=OWO&utm_term=PicoClaw) |
|
||||
| **神算云** | `shengsuanyun` | `https://router.shengsuanyun.com/api/v1` | OpenAI | — |
|
||||
|
|
@ -675,7 +675,7 @@ Agent 读取 HEARTBEAT.md
|
|||
|
||||
PicoClaw 按协议族路由提供商:
|
||||
|
||||
- **OpenAI 兼容**:OpenRouter、Groq、智谱、vLLM 风格端点、OVMS及大多数其他提供商。
|
||||
- **OpenAI 兼容**:OpenRouter、Groq、智谱、vLLM 风格端点、OVMS 及大多数其他提供商。
|
||||
- **Gemini 原生**:Google Gemini 通过原生 `models/*:generateContent` 和 `models/*:streamGenerateContent` 端点接入。
|
||||
- **Anthropic**:Claude 原生 API 行为。
|
||||
- **Codex/OAuth**:OpenAI OAuth/Token 认证路由。
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ This design also enables **multi-agent support** with flexible provider selectio
|
|||
| **OpenRouter** | `openrouter` | `https://openrouter.ai/api/v1` | OpenAI | [Get Key](https://openrouter.ai/keys) |
|
||||
| **LiteLLM Proxy** | `litellm` | `http://localhost:4000/v1` | OpenAI | Your LiteLLM proxy key |
|
||||
| **VLLM** | `vllm` | `http://localhost:8000/v1` | OpenAI | Local |
|
||||
| **OVMS** | `ovms/` | `http://localhost:8000/v3` | OpenAI | Local (no key needed) |
|
||||
| **OVMS** | `ovms` | `http://localhost:8000/v3` | OpenAI | Local (no key needed) |
|
||||
| **Cerebras** | `cerebras` | `https://api.cerebras.ai/v1` | OpenAI | [Get Key](https://cerebras.ai) |
|
||||
| **VolcEngine (Doubao)** | `volcengine` | `https://ark.cn-beijing.volces.com/api/v3` | OpenAI | [Get Key](https://www.volcengine.com/activity/codingplan?utm_campaign=PicoClaw&utm_content=PicoClaw&utm_medium=devrel&utm_source=OWO&utm_term=PicoClaw) |
|
||||
| **神算云** | `shengsuanyun` | `https://router.shengsuanyun.com/api/v1` | OpenAI | - |
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
| **OpenRouter** | `openrouter` | `https://openrouter.ai/api/v1` | OpenAI | [获取密钥](https://openrouter.ai/keys) |
|
||||
| **LiteLLM Proxy** | `litellm` | `http://localhost:4000/v1` | OpenAI | 你的 LiteLLM 代理密钥 |
|
||||
| **VLLM** | `vllm` | `http://localhost:8000/v1` | OpenAI | 本地 |
|
||||
| **OVMS** | `ovms/` | `http://localhost:8000/v3` | OpenAI | 本地(无需密钥) |
|
||||
| **OVMS** | `ovms` | `http://localhost:8000/v3` | OpenAI | 本地(无需密钥) |
|
||||
| **Cerebras** | `cerebras` | `https://api.cerebras.ai/v1` | OpenAI | [获取密钥](https://cerebras.ai) |
|
||||
| **火山引擎(Doubao)** | `volcengine` | `https://ark.cn-beijing.volces.com/api/v3` | OpenAI | [获取密钥](https://www.volcengine.com/activity/codingplan?utm_campaign=PicoClaw&utm_content=PicoClaw&utm_medium=devrel&utm_source=OWO&utm_term=PicoClaw) |
|
||||
| **神算云** | `shengsuanyun` | `https://router.shengsuanyun.com/api/v1` | OpenAI | - |
|
||||
|
|
@ -424,7 +424,7 @@ PicoClaw 按下面的规则解析 `provider` 和最终发给上游的模型 ID
|
|||
|
||||
PicoClaw 按协议族路由 Provider:
|
||||
|
||||
- OpenAI 兼容协议:OpenRouter、OpenAI 兼容网关、Groq、智谱、vLLM 风格端点和OVMS。
|
||||
- OpenAI 兼容协议:OpenRouter、OpenAI 兼容网关、Groq、智谱、vLLM 风格端点和 OVMS。
|
||||
- Gemini 原生协议:Google Gemini 通过原生 `models/*:generateContent` 和 `models/*:streamGenerateContent` 端点接入。
|
||||
- Anthropic 协议:Claude 原生 API 行为。
|
||||
- Codex/OAuth 路径:OpenAI OAuth/Token 认证路由。
|
||||
|
|
|
|||
|
|
@ -465,7 +465,7 @@ PicoClaw は `model_list` 設定を通じて 30 以上の LLM Provider をサポ
|
|||
}
|
||||
```
|
||||
|
||||
Provider の完全な設定詳細は [Provider とモデル](../guides/providers.ja.md) を参照してください。。
|
||||
Provider の完全な設定詳細は [Provider とモデル](../guides/providers.ja.md) を参照してください。
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -274,7 +274,8 @@ func DefaultConfig() *Config {
|
|||
// OVMS (local) - http://localhost:8000
|
||||
{
|
||||
ModelName: "local-ovms",
|
||||
Model: "ovms/custom-model",
|
||||
Provider: "ovms",
|
||||
Model: "custom-model",
|
||||
APIBase: "http://localhost:8000/v3",
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue