mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-25 00:42:24 +00:00
15 lines
377 B
TypeScript
15 lines
377 B
TypeScript
import {
|
|
buildDeepSeekModelDefinition,
|
|
DEEPSEEK_BASE_URL,
|
|
DEEPSEEK_MODEL_CATALOG,
|
|
type ModelProviderConfig,
|
|
} from "openclaw/plugin-sdk/provider-models";
|
|
|
|
export function buildDeepSeekProvider(): ModelProviderConfig {
|
|
return {
|
|
baseUrl: DEEPSEEK_BASE_URL,
|
|
api: "openai-completions",
|
|
models: DEEPSEEK_MODEL_CATALOG.map(buildDeepSeekModelDefinition),
|
|
};
|
|
}
|