mirror of https://github.com/openclaw/openclaw.git
11 lines
350 B
TypeScript
11 lines
350 B
TypeScript
import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-models";
|
|
import { buildMistralCatalogModels, MISTRAL_BASE_URL } from "./model-definitions.js";
|
|
|
|
export function buildMistralProvider(): ModelProviderConfig {
|
|
return {
|
|
baseUrl: MISTRAL_BASE_URL,
|
|
api: "openai-completions",
|
|
models: buildMistralCatalogModels(),
|
|
};
|
|
}
|