openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
25 lines (24 loc) • 1.24 kB
JavaScript
import { o as readManifestProviderDefaultModelRef } from "./provider-catalog-lIjm3m2s.mjs";
import { _ as createModelCatalogPresetAppliers, v as createProviderConnectionPresetAppliers } from "./provider-onboard-Di5Hihl4.mjs";
import "./provider-catalog-shared-ZRbc_4xZ.mjs";
import { t as openclaw_plugin_default } from "./openclaw.plugin-D5sHRK8Y.mjs";
import { n as TOGETHER_MODEL_CATALOG, t as TOGETHER_BASE_URL } from "./models-oCVOrmr8.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: 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 };