openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
25 lines (24 loc) • 1.26 kB
JavaScript
import { s as readManifestProviderDefaultModelRef } from "./provider-catalog-hlDFQS6u.mjs";
import { _ as createProviderConnectionPresetAppliers, g as createModelCatalogPresetAppliers } from "./provider-onboard-CtVoohBO.mjs";
import "./provider-catalog-shared-DHcdSOXL.mjs";
import { t as openclaw_plugin_default } from "./openclaw.plugin-DQQO5-vQ.mjs";
import { n as TOGETHER_MODEL_CATALOG, t as TOGETHER_BASE_URL } from "./models-DjM9hTbL.mjs";
//#region extensions/together/onboard.ts
const TOGETHER_DEFAULT_MODEL_REF = readManifestProviderDefaultModelRef(openclaw_plugin_default, "together");
const togetherPreset = {
primaryModelRef: TOGETHER_DEFAULT_MODEL_REF,
resolveParams: () => ({
providerId: "together",
api: "openai-completions",
baseUrl: TOGETHER_BASE_URL,
catalogModels: () => structuredClone(TOGETHER_MODEL_CATALOG),
aliases: [{
modelRef: TOGETHER_DEFAULT_MODEL_REF,
alias: "Together AI"
}]
})
};
const { applyConfig: applyTogetherConfig } = createModelCatalogPresetAppliers(togetherPreset);
const { applyConfig: applyTogetherConnectionConfig } = createProviderConnectionPresetAppliers(togetherPreset);
//#endregion
export { applyTogetherConfig as n, applyTogetherConnectionConfig as r, TOGETHER_DEFAULT_MODEL_REF as t };