@fugood/buttress-server 2.25.0-beta.37 → 2.25.0-beta.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.mts +7 -1
- package/lib/index.mjs +68 -68
- package/package.json +2 -2
package/lib/index.d.mts
CHANGED
|
@@ -6,6 +6,12 @@ import { ReadableStream } from "node:stream/web";
|
|
|
6
6
|
import { EventEmitter } from "node:events";
|
|
7
7
|
import { estimateOnnxRuntimeMemory as estimateRuntimeMemory } from "@fugood/buttress-hardware-guardrails";
|
|
8
8
|
|
|
9
|
+
//#region ../buttress-backend-core/lib/types/test-caps-config.d.ts
|
|
10
|
+
declare function createTestCapsDefaultConfigResolver(defaultConfig: any, type: any): {
|
|
11
|
+
globalDefaults: any;
|
|
12
|
+
resolveDefaultConfig: (modelRepoId: any) => {};
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
9
15
|
//#region ../buttress-backend-core/lib/types/caps.d.ts
|
|
10
16
|
declare function getCapabilities(type: any, currentClientCapabilities?: any, options?: {}): Promise<any>;
|
|
11
17
|
//#endregion
|
|
@@ -176,7 +182,7 @@ declare function startOnnxModelDownload(config: object, globalDownloadManager: o
|
|
|
176
182
|
repoId: string | null;
|
|
177
183
|
}>;
|
|
178
184
|
declare namespace index_d_exports {
|
|
179
|
-
export { estimateOnnxModelSize, estimateRuntimeMemory, finalizeGenerator, generatorRegistry, getCapabilities, getModelIdentifier, ggmlLlm, ggmlStt, globalDownloadManager, mlxLlm, onnxStt, onnxTts, resolveModelCacheDir, resolveOnnxDownloadManifest, showModelsTable, showSttModelsTable, startGenerator, startModelDownload, startOnnxModelDownload, status, testGgmlLlmCapabilities, testGgmlSttCapabilities };
|
|
185
|
+
export { createTestCapsDefaultConfigResolver, estimateOnnxModelSize, estimateRuntimeMemory, finalizeGenerator, generatorRegistry, getCapabilities, getModelIdentifier, ggmlLlm, ggmlStt, globalDownloadManager, mlxLlm, onnxStt, onnxTts, resolveModelCacheDir, resolveOnnxDownloadManifest, showModelsTable, showSttModelsTable, startGenerator, startModelDownload, startOnnxModelDownload, status, testGgmlLlmCapabilities, testGgmlSttCapabilities };
|
|
180
186
|
}
|
|
181
187
|
declare function startGenerator(type: any, config: any): Promise<{
|
|
182
188
|
id: any;
|