Ai proxy support doubao (#1337)

This commit is contained in:
rinfx
2024-09-24 18:45:40 +08:00
committed by GitHub
parent dc61bfc5c5
commit bef9139753
3 changed files with 117 additions and 0 deletions

View File

@@ -650,6 +650,19 @@ provider:
}
```
### 使用 OpenAI 协议代理豆包大模型服务
**配置信息**
```yaml
provider:
type: doubao
apiTokens:
- YOUR_DOUBAO_API_KEY
modelMapping:
'*': YOUR_DOUBAO_ENDPOINT
timeout: 1200000
```
### 使用月之暗面配合其原生的文件上下文