cohere 通过原生 Chat API v2 调用 Cohere 模型。
cohere
/provider
CAIRN_PROVIDER=cohere
COHERE_API_KEY
/auth key cohere
对话走 POST https://api.cohere.com/v2/chat;模型列表仍来自 GET /v1/models,只保留可对话且未弃用的条目。
POST https://api.cohere.com/v2/chat
GET /v1/models
system
messages
preamble
chat_history
tool
[返回提供商列表|Providers-zh]
There was an error while loading. Please reload this page.
Cairn Code
Providers
Links
中文文档