import {
definePluginEntry,
OpenClawConfig,
type OpenClawPluginApi,
type ProviderAuthContext,
type ProviderAuthMethodNonInteractiveContext,
type ProviderAuthResult,
type ProviderRuntimeModel,
} from "openclaw/plugin-sdk/plugin-entry"; import { CUSTOM_LOCAL_AUTH_MARKER } from "openclaw/plugin-sdk/provider-auth"; import { lmstudioMemoryEmbeddingProviderAdapter } from "./memory-embedding-adapter.js"; import {
LMSTUDIO_DEFAULT_API_KEY_ENV_VAR,
LMSTUDIO_LOCAL_API_KEY_PLACEHOLDER,
LMSTUDIO_PROVIDER_LABEL,
} from "./src/defaults.js"; import {
normalizeLmstudioConfiguredCatalogEntries,
normalizeLmstudioProviderConfig,
} from "./src/models.js"; import { shouldUseLmstudioSyntheticAuth } from "./src/provider-auth.js"; import { wrapLmstudioInferencePreload } from "./src/stream.js";
const PROVIDER_ID = "lmstudio"; // Intentional: dynamic models are cached per LM Studio endpoint (`baseUrl`) only. const cachedDynamicModels = new Map<string, ProviderRuntimeModel[]>();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.