@blockrun/clawrouter 0.12.38 → 0.12.39
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/cli.js +1 -10
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/cli.d.ts +0 -1
- package/dist/index.d.ts +0 -1389
package/dist/cli.js
CHANGED
|
@@ -6900,16 +6900,7 @@ async function proxyRequest(req, res, apiBase, payFetch, options, routerOpts, de
|
|
|
6900
6900
|
|
|
6901
6901
|
`;
|
|
6902
6902
|
}
|
|
6903
|
-
|
|
6904
|
-
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
6905
|
-
model: freeModel,
|
|
6906
|
-
tier: "SIMPLE",
|
|
6907
|
-
cost: 0,
|
|
6908
|
-
baselineCost: 0,
|
|
6909
|
-
savings: 1,
|
|
6910
|
-
// 100% savings
|
|
6911
|
-
latencyMs: 0
|
|
6912
|
-
});
|
|
6903
|
+
routingDecision = { model: freeModel, tier: "SIMPLE", confidence: 1, method: "rules", reasoning: "free profile" };
|
|
6913
6904
|
} else {
|
|
6914
6905
|
effectiveSessionId = getSessionId(req.headers) ?? deriveSessionId(parsedMessages);
|
|
6915
6906
|
const existingSession = effectiveSessionId ? sessionStore.getSession(effectiveSessionId) : void 0;
|