@blockrun/clawrouter 0.7.0 → 0.8.1
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 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.js +126 -65
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3366,9 +3366,7 @@ async function main() {
|
|
|
3366
3366
|
onRouted: (decision) => {
|
|
3367
3367
|
const cost = decision.costEstimate.toFixed(4);
|
|
3368
3368
|
const saved = (decision.savings * 100).toFixed(0);
|
|
3369
|
-
console.log(
|
|
3370
|
-
`[ClawRouter] [${decision.tier}] ${decision.model} $${cost} (saved ${saved}%)`
|
|
3371
|
-
);
|
|
3369
|
+
console.log(`[ClawRouter] [${decision.tier}] ${decision.model} $${cost} (saved ${saved}%)`);
|
|
3372
3370
|
},
|
|
3373
3371
|
onLowBalance: (info) => {
|
|
3374
3372
|
console.warn(`[ClawRouter] Low balance: ${info.balanceUSD}. Fund: ${info.walletAddress}`);
|