Commit ccc7e6a1
ccc7e6a1e69fMerged
Scott Nixon <[email protected]> ยท 9 months ago ยท 1 file ยท ~1 modified
Description
fix: Set default pipeline budget to $200 instead of unlimited
Without --max-budget-usd flag, budget defaulted to f64::MAX making budget_remaining meaningless in logs and providing no spending guardrail.
Details
- Commit
- ccc7e6a1e69f
- Parent
- 8981d12d6227
crates/attractor-pipeline/src/engine.rsmodifiedView file
@@ -110,7 +110,7 @@
110110
.get("max_budget_usd")111111
.await112112
.and_then(|v| v.as_f64())113-
.unwrap_or(f64::MAX);113+
.unwrap_or(200.0);114114
let max_steps: u64 = context115115
.get("max_steps")116116
.await