mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 04:31:10 +00:00
15 lines
411 B
TypeScript
15 lines
411 B
TypeScript
import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-model-shared";
|
|
import {
|
|
buildDeepSeekModelDefinition,
|
|
DEEPSEEK_BASE_URL,
|
|
DEEPSEEK_MODEL_CATALOG,
|
|
} from "./models.js";
|
|
|
|
export function buildDeepSeekProvider(): ModelProviderConfig {
|
|
return {
|
|
baseUrl: DEEPSEEK_BASE_URL,
|
|
api: "openai-completions",
|
|
models: DEEPSEEK_MODEL_CATALOG.map(buildDeepSeekModelDefinition),
|
|
};
|
|
}
|