Mistral

在此处探索 Mistral 模型:这里
Mistral 控制台获取 API 密钥

配置

name: My Config
version: 0.0.1
schema: v1

models:
  - name: <MODEL_NAME>
    provider: mistral
    model: <MODEL_ID>
    apiKey: <YOUR_MISTRAL_API_KEY>
查看更高级的配置:这里
codestral.mistral.ai 的 API 密钥与 api.mistral.ai 不同。如果您使用的是 Codestral API 密钥,则应将 apiBase 设置为 https://codestral.mistral.ai/v1。否则,我们将默认使用 https://api.mistral.ai/v1