adaptive-memory-multi-model-router 1.7.1 → 1.7.3
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/dist/index.js +1 -1
- package/dist/providers/registry.js +11 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -282,7 +282,7 @@ Object.defineProperty(exports, "createIntegration", { enumerable: true, get: fun
|
|
|
282
282
|
* @param {Object} config.memory - Memory settings
|
|
283
283
|
* @param {Object} config.cache - Cache settings
|
|
284
284
|
* @param {Object} config.cost - Cost tracking settings
|
|
285
|
-
* @returns {Object} Router instance with route(),
|
|
285
|
+
* @returns {Object} Router instance with route(), routeBatch(), recommend(), memory, cache, compression, oauth, vault, providers properties
|
|
286
286
|
*/
|
|
287
287
|
function createA3MRouter(config = {}) {
|
|
288
288
|
const { providers = {}, memory = {}, cache = {}, cost = {} } = config;
|
|
@@ -108,4 +108,14 @@ const DEFAULT_PROVIDER_CONFIG = {
|
|
|
108
108
|
maxTokens: 4096
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
const _routing = require("../routing/advancedRouter");
|
|
112
|
+
module.exports = {
|
|
113
|
+
ProviderRegistry,
|
|
114
|
+
routeQuery: _routing.routeQuery,
|
|
115
|
+
routeBatch: _routing.routeBatch,
|
|
116
|
+
recommendForTask: _routing.recommendForTask,
|
|
117
|
+
extractQueryFeatures: _routing.extractQueryFeatures,
|
|
118
|
+
MODEL_PROFILES: _routing.MODEL_PROFILES,
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adaptive-memory-multi-model-router",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"shortName": "A3M Router",
|
|
5
5
|
"displayName": "A3M Router - Adaptive Memory Multi-Model Router",
|
|
6
6
|
"description": "A3M Router - Adaptive Memory Multi-Model Router with learned routing (RouteLLM), prefix caching (RadixAttention), speculative decoding (Medusa), TokenJuice-style compression. 14 LLM providers, 10 integrations, Python bindings. 20x more adaptable for ML/AI developers.",
|