mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-23 02:45:38 -06:00
603f839058
* feat(plugin-sdk): add live catalog row projection * refactor(providers): share live catalog projection * fix(venice): keep live projection internal
13 lines
480 B
TypeScript
13 lines
480 B
TypeScript
/** Baseten static and authenticated provider catalog builders. */
|
|
import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-model-shared";
|
|
import { BASETEN_BASE_URL, buildStaticBasetenModels } from "./models.js";
|
|
|
|
/** Builds Baseten's network-free fallback provider catalog. */
|
|
export function buildStaticBasetenProvider(): ModelProviderConfig {
|
|
return {
|
|
baseUrl: BASETEN_BASE_URL,
|
|
api: "openai-completions",
|
|
models: buildStaticBasetenModels(),
|
|
};
|
|
}
|