MCPcopy Index your code
hub / github.com/AI45Lab/Code / budget_snapshot

Method budget_snapshot

core/src/orchestration/workflow.rs:197–199  ·  view source on GitHub ↗

A snapshot of the shared budget ledger, if a budget is attached.

(&self)

Source from the content-addressed store, hash-verified

195
196 /// A snapshot of the shared budget ledger, if a budget is attached.
197 pub fn budget_snapshot(&self) -> Option<BudgetSnapshot> {
198 self.budget.as_ref().map(|b| b.snapshot())
199 }
200
201 /// Subscribe to this workflow's [`WorkflowEvent`] milestones.
202 pub fn subscribe(&self) -> broadcast::Receiver<WorkflowEvent> {

Calls 1

snapshotMethod · 0.45