mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-16 15:01:44 +00:00
16 lines
477 B
TypeScript
16 lines
477 B
TypeScript
// Deepseek provider module implements model/runtime integration.
|
|
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),
|
|
};
|
|
}
|