mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-13 19:26:02 +00:00
11 lines
340 B
TypeScript
11 lines
340 B
TypeScript
import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-model-shared";
|
|
import { buildCohereCatalogModels, COHERE_BASE_URL } from "./models.js";
|
|
|
|
export function buildCohereProvider(): ModelProviderConfig {
|
|
return {
|
|
baseUrl: COHERE_BASE_URL,
|
|
api: "openai-completions",
|
|
models: buildCohereCatalogModels(),
|
|
};
|
|
}
|