mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-24 03:15:46 -06:00
603f839058
* feat(plugin-sdk): add live catalog row projection * refactor(providers): share live catalog projection * fix(venice): keep live projection internal
12 lines
417 B
TypeScript
12 lines
417 B
TypeScript
// Venice provider module implements model/runtime integration.
|
|
import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-model-shared";
|
|
import { VENICE_BASE_URL, VENICE_MODEL_CATALOG } from "./models.js";
|
|
|
|
export function buildStaticVeniceProvider(): ModelProviderConfig {
|
|
return {
|
|
baseUrl: VENICE_BASE_URL,
|
|
api: "openai-completions",
|
|
models: structuredClone(VENICE_MODEL_CATALOG),
|
|
};
|
|
}
|