mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-28 17:43:05 +00:00
15 lines
426 B
TypeScript
15 lines
426 B
TypeScript
import {
|
|
buildTogetherModelDefinition,
|
|
TOGETHER_BASE_URL,
|
|
TOGETHER_MODEL_CATALOG,
|
|
} from "../../src/agents/together-models.js";
|
|
import type { ModelProviderConfig } from "../../src/config/types.models.js";
|
|
|
|
export function buildTogetherProvider(): ModelProviderConfig {
|
|
return {
|
|
baseUrl: TOGETHER_BASE_URL,
|
|
api: "openai-completions",
|
|
models: TOGETHER_MODEL_CATALOG.map(buildTogetherModelDefinition),
|
|
};
|
|
}
|