Skip to content

Commit d644443

Browse files
committed
chore: fix readme example error
1 parent 78ced6e commit d644443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/wasm-go/extensions/ai-proxy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ description: AI 代理插件配置参考
4242
| `customSettings` | array of customSetting | 非必填 | - | 为AI请求指定覆盖或者填充参数 |
4343
| `failover` | object | 非必填 | - | 配置 apiToken 的 failover 策略,当 apiToken 不可用时,将其移出 apiToken 列表,待健康检测通过后重新添加回 apiToken 列表 |
4444
| `retryOnFailure` | object | 非必填 | - | 当请求失败时立即进行重试 |
45-
| `capabilities` | array of string | 非必填 | - | 部分provider的部分ai能力原生兼容openai/v1格式,不需要重写,可以直接转发,通过此配置项指定来开启转发, 当前支持: openai/v1/chatcompletions, openai/v1/embeddings, openai/v1/imagegeneration, openai/v1/audiospeech, openai/v1/audiotranscription |
45+
| `capabilities` | map of string | 非必填 | - | 部分provider的部分ai能力原生兼容openai/v1格式,不需要重写,可以直接转发,通过此配置项指定来开启转发, key表示的是采用的厂商协议能力,values表示的真实的厂商该能力的api path, 厂商协议能力当前支持: openai/v1/chatcompletions, openai/v1/embeddings, openai/v1/imagegeneration, openai/v1/audiospeech, cohere/v1/rerank |
4646
`context`的配置字段说明如下:
4747

4848
| 名称 | 数据类型 | 填写要求 | 默认值 | 描述 |

0 commit comments

Comments
 (0)