UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

8 lines (7 loc) 3.17 kB
import { F as buildRemoteBaseUrlPolicy, I as withRemoteHttpResponse, R as sanitizeAndNormalizeEmbedding } from "../gateway-startup-plugin-config-Bq9ZdScF.js"; import { v as registerRuntimeAuthProfileStoreMutationListener } from "../runtime-snapshots-CHAErv1O.js"; import { i as getMemoryMultimodalExtensions, r as classifyMemoryMultimodalPath, t as buildCaseInsensitiveExtensionGlob } from "../multimodal-80SKCWO3.js"; import { n as listMemoryEmbeddingProviders, r as listRegisteredMemoryEmbeddingProviderAdapters, t as getMemoryEmbeddingProvider } from "../memory-embedding-provider-runtime-6fQgM2Qk.js"; import { _ as hasNonTextEmbeddingParts, v as estimateStructuredEmbeddingInputBytes, y as estimateUtf8Bytes } from "../internal-DLNsOpsV.js"; import { A as formatUnavailableBatchError, C as EMBEDDING_BATCH_ENDPOINT, D as EmbeddingBatchUnavailableError, E as postJsonWithRetry, O as extractBatchErrorMessage, S as normalizeBatchBaseUrl, T as readEmbeddingBatchJsonl, _ as throwIfBatchCompletionError, a as normalizeEmbeddingModelWithPrefixes, b as runEmbeddingBatchGroups, c as mapBatchEmbeddingsByIndex, d as uploadBatchJsonlFile, f as embeddingProviderOwnsDestination, g as resolveCompletedBatchResult, h as resolveBatchCompletionFromStatus, i as fetchRemoteEmbeddingVectors, j as isEmbeddingBatchUnavailableError, k as formatBatchErrorDetail, l as sanitizeEmbeddingCacheHeaders, m as resolveRemoteEmbeddingBearerClient, n as createRemoteEmbeddingProvider, o as debugEmbeddingsLog, p as resolveEmbeddingEndpointUrl, r as resolveRemoteEmbeddingClient, s as isMissingEmbeddingApiKeyError, t as createLocalEmbeddingProvider, u as enforceEmbeddingMaxInputTokens, v as throwIfBatchTerminalFailure, w as applyEmbeddingBatchOutputLine, x as buildBatchHeaders, y as buildEmbeddingBatchGroupOptions } from "../memory-core-host-engine-embeddings-DwuZ1cl_.js"; export { EMBEDDING_BATCH_ENDPOINT, EmbeddingBatchUnavailableError, applyEmbeddingBatchOutputLine, buildBatchHeaders, buildCaseInsensitiveExtensionGlob, buildEmbeddingBatchGroupOptions, buildRemoteBaseUrlPolicy, classifyMemoryMultimodalPath, createLocalEmbeddingProvider, createRemoteEmbeddingProvider, debugEmbeddingsLog, embeddingProviderOwnsDestination, enforceEmbeddingMaxInputTokens, estimateStructuredEmbeddingInputBytes, estimateUtf8Bytes, extractBatchErrorMessage, fetchRemoteEmbeddingVectors, formatBatchErrorDetail, formatUnavailableBatchError, getMemoryEmbeddingProvider, getMemoryMultimodalExtensions, hasNonTextEmbeddingParts, isEmbeddingBatchUnavailableError, isMissingEmbeddingApiKeyError, listMemoryEmbeddingProviders, listRegisteredMemoryEmbeddingProviderAdapters, mapBatchEmbeddingsByIndex, normalizeBatchBaseUrl, normalizeEmbeddingModelWithPrefixes, postJsonWithRetry, readEmbeddingBatchJsonl, registerRuntimeAuthProfileStoreMutationListener, resolveBatchCompletionFromStatus, resolveCompletedBatchResult, resolveEmbeddingEndpointUrl, resolveRemoteEmbeddingBearerClient, resolveRemoteEmbeddingClient, runEmbeddingBatchGroups, sanitizeAndNormalizeEmbedding, sanitizeEmbeddingCacheHeaders, throwIfBatchCompletionError, throwIfBatchTerminalFailure, uploadBatchJsonlFile, withRemoteHttpResponse };