mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-11 12:16:04 +00:00
* fix(ai): honor provider reasoning compatibility * feat(longcat): add hosted provider plugin * chore(longcat): register package metadata * docs(longcat): add provider setup guide * docs(longcat): document self-hosted model routing * refactor(longcat): externalize provider plugin * chore(longcat): add npm release artifacts
15 lines
756 B
TypeScript
15 lines
756 B
TypeScript
// LongCat plugin module implements models behavior.
|
|
import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
import type { ModelDefinitionConfig } from "openclaw/plugin-sdk/provider-model-shared";
|
|
import manifest from "./openclaw.plugin.json" with { type: "json" };
|
|
|
|
const LONGCAT_MANIFEST_PROVIDER = buildManifestModelProviderConfig({
|
|
providerId: "longcat",
|
|
catalog: manifest.modelCatalog.providers.longcat,
|
|
});
|
|
|
|
export const LONGCAT_BASE_URL = LONGCAT_MANIFEST_PROVIDER.baseUrl;
|
|
export const LONGCAT_MODEL_CATALOG: ModelDefinitionConfig[] = LONGCAT_MANIFEST_PROVIDER.models;
|
|
export const LONGCAT_DEFAULT_MODEL_ID = "LongCat-2.0";
|
|
export const LONGCAT_DEFAULT_MODEL_REF = `longcat/${LONGCAT_DEFAULT_MODEL_ID}`;
|