mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
e30217d25c
* feat(plugin-sdk): add manifest model row builder * refactor(providers): share manifest model row building * refactor(providers): source defaults from manifests * refactor(providers): drop unconsumed builder aliases * fix(providers): keep Cohere catalog internal
12 lines
423 B
TypeScript
12 lines
423 B
TypeScript
// Deepseek provider module implements model/runtime integration.
|
|
import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-model-shared";
|
|
import { DEEPSEEK_BASE_URL, DEEPSEEK_MODEL_CATALOG } from "./models.js";
|
|
|
|
export function buildDeepSeekProvider(): ModelProviderConfig {
|
|
return {
|
|
baseUrl: DEEPSEEK_BASE_URL,
|
|
api: "openai-completions",
|
|
models: structuredClone(DEEPSEEK_MODEL_CATALOG),
|
|
};
|
|
}
|