Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

settle_llm_spend

cre8_app_intelligence::spend::settle_llm_spend

fn · cre8-app-intelligence · crates/cre8-app-intelligence/src/spend.rs:356 pub documented

118lines
11cyclomatic
3max nesting
37statements
2? exits
2params
12callers
6callees
2.3 (p96)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (12 direct callers, 6 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

name · 1 sitename · 2 sitesname · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 2 sitesname · 1 sitename · 1 sitename · 1 sitename · 2 sitesname · 1 sitename · 1 sitename · 1 sitename · 2 sitesmethod · 1 sitename · 1 sitename · 4 sitesname · 7 sitesname · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitemethod · 1 sitemethod · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 siterun_model_turnapp-messaging · cc 29cre8_app_messaging::connection::run_model_turnsettle_answered_roundapp-messaging · cc 2cre8_app_messaging::connection::settle_answered_roundDurableObserver::after_prov…app-messaging · cc 8cre8_app_messaging::connection::workspace_turn::DurableObserver::after_providersettle_model_turn_spendapp-messaging · cc 1cre8_app_messaging::connection::settle_model_turn_spendLocalSubstrateTransport::se…app-agent · cc 1cre8_app_agent::driver::LocalSubstrateTransport::settle_llm_spendunpriced_spend_settles_as_a…app-intelligence · cc 1cre8_app_intelligence::spend::tests::unpriced_spend_settles_as_an_explicit_no_opinsufficient_balance_is_typ…app-intelligence · cc 1cre8_app_intelligence::spend::tests::insufficient_balance_is_typed_and_moves_nothingwithout_a_chokepoint_the_sp…app-intelligence · cc 1cre8_app_intelligence::spend::tests::without_a_chokepoint_the_spend_still_debits_and_credits_atomicallyhappy_debit_moves_the_quote…app-intelligence · cc 1cre8_app_intelligence::spend::tests::happy_debit_moves_the_quoted_denom_from_agent_to_owner_through_the_chokepointa_re_settle_of_the_same_inv…app-intelligence · cc 1cre8_app_intelligence::spend::tests::a_re_settle_of_the_same_invocation_replays_without_debiting_twiceinsufficient_balance_throug…app-intelligence · cc 1cre8_app_intelligence::spend::tests::insufficient_balance_through_the_chokepoint_path_is_typed_and_moves_nothinga_per_peer_cap_refuses_the_…app-intelligence · cc 4cre8_app_intelligence::spend::tests::a_per_peer_cap_refuses_the_spend_at_the_chokepoint_as_a_typed_deniala_cli_provider_round_is_cap…app-intelligence · cc 2cre8_app_intelligence::spend::tests::a_cli_provider_round_is_capped_because_the_cap_names_the_denom_not_the_providera_global_cap_is_shared_acro…app-intelligence · cc 3cre8_app_intelligence::spend::tests::a_global_cap_is_shared_across_agents_while_a_per_peer_cap_is_notcap_preflight_refuses_befor…app-intelligence · cc 1cre8_app_intelligence::spend::tests::cap_preflight_refuses_before_the_provider_and_permits_an_ungoverned_assetsettle_llm_spendapp-intelligence · cc 11cre8_app_intelligence::spend::settle_llm_spendRuntimeContext::manifold_co…app-manifold · cc 1cre8_app_manifold::context_ext::RuntimeContext::manifold_commit_serviceCommitReport::durably_persi…app-manifold · cc 2cre8_app_manifold::engine::CommitReport::durably_persistedcheck_llm_spend_capsapp-intelligence · cc 6cre8_app_intelligence::spend::check_llm_spend_capsllm_spend_receiptapp-intelligence · cc 1cre8_app_intelligence::spend::llm_spend_receiptresolve_ownerapp-intelligence · cc 2cre8_app_intelligence::spend::resolve_ownercap_denial_from_reportsapp-intelligence · cc 2cre8_app_intelligence::spend::cap_denial_from_reportswith_graphapp-protocol · cc 6cre8_app_protocol::graph_store::with_graphnow_ms_i64platform-time · cc 1cre8_platform_time::now_ms_i64IntentReceipt::new_with_pay…runtime-contracts · cc 1cre8_runtime_contracts::intent_receipt::IntentReceipt::new_with_payloadcompute_cap_headroomapp-metering · cc 7cre8_app_metering::preflight::compute_cap_headroomprovider_segmentapp-intelligence · cc 4cre8_app_intelligence::spend::provider_segmentdeterministic_ts_from_refapp-intelligence · cc 1cre8_app_intelligence::spend::deterministic_ts_from_refspend_refapp-intelligence · cc 1cre8_app_intelligence::spend::spend_ref

Control flow

Source not readable from this process.

Callers 12

Callees 6

Source not readable from this process.