@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/index.js CHANGED
@@ -7328,16 +7328,7 @@ async function proxyRequest(req, res, apiBase, payFetch, options, routerOpts, de
7328
7328
 
7329
7329
  `;
7330
7330
  }
7331
- await logUsage({
7332
- timestamp: (/* @__PURE__ */ new Date()).toISOString(),
7333
- model: freeModel,
7334
- tier: "SIMPLE",
7335
- cost: 0,
7336
- baselineCost: 0,
7337
- savings: 1,
7338
- // 100% savings
7339
- latencyMs: 0
7340
- });
7331
+ routingDecision = { model: freeModel, tier: "SIMPLE", confidence: 1, method: "rules", reasoning: "free profile" };
7341
7332
  } else {
7342
7333
  effectiveSessionId = getSessionId(req.headers) ?? deriveSessionId(parsedMessages);
7343
7334
  const existingSession = effectiveSessionId ? sessionStore.getSession(effectiveSessionId) : void 0;