Codestral 是一个专门为代码生成和交互设计的模型。对于 Codestral,您可以使用不同的端点(默认:codestral.mistral.ai)。如果使用 La Plateforme API 密钥进行 Codestral,请将 Codestral Base Url 更改为:https://api.mistral.ai要在 Cline 中使用 Codestral:
在 Cline 设置中选择“Mistral”作为 API 提供商。
从“模型”下拉列表中选择一个 Codestral 模型(例如,codestral-latest)。
将您的 Codestral API 密钥(来自 codestral.mistral.ai)或您的 La Plateforme API 密钥(来自 api.mistral.ai)输入到 Cline 中相应的 API 密钥字段中。