mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-19 19:04:41 +00:00
refactor(ai): migrate mistral provider to conversations sdk
This commit is contained in:
parent
9a4fe52654
commit
eb9f1183ad
17 changed files with 723 additions and 171 deletions
|
|
@ -414,9 +414,9 @@ async function loadModelsDevData(): Promise<Model<any>[]> {
|
|||
models.push({
|
||||
id: modelId,
|
||||
name: m.name || modelId,
|
||||
api: "openai-completions",
|
||||
api: "mistral-conversations",
|
||||
provider: "mistral",
|
||||
baseUrl: "https://api.mistral.ai/v1",
|
||||
baseUrl: "https://api.mistral.ai",
|
||||
reasoning: m.reasoning === true,
|
||||
input: m.modalities?.input?.includes("image") ? ["text", "image"] : ["text"],
|
||||
cost: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue