Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

check_llm_preflight

cre8_app_metering::preflight::check_llm_preflight

fn · cre8-app-metering · crates/cre8-app-metering/src/preflight.rs:40 pub generic documented

27lines
3cyclomatic
1max nesting
8statements
1? exits
8params
8callers
2callees
1.3 (p88)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 2 sitesname · 1 sitename · 1 sitepath · 1 sitemethod · 1 sitename · 1 sitename · 1 sitename · 1 sitewire_intelligence_servicesapp-intelligence · cc 8cre8_app_intelligence::boot::wire_intelligence_servicesno_contract_means_uncapped_…app-metering · cc 1cre8_app_metering::preflight::tests::no_contract_means_uncapped_passunder_cap_passesapp-metering · cc 1cre8_app_metering::preflight::tests::under_cap_passesover_cap_denies_with_named_…app-metering · cc 1cre8_app_metering::preflight::tests::over_cap_denies_with_named_rulespecific_contract_does_not_…app-metering · cc 1cre8_app_metering::preflight::tests::specific_contract_does_not_hide_parent_capzero_estimate_is_always_okapp-metering · cc 1cre8_app_metering::preflight::tests::zero_estimate_is_always_okheadroom_exactly_equals_cap…app-metering · cc 1cre8_app_metering::preflight::tests::headroom_exactly_equals_cap_is_zeroaffordability_denial_when_b…app-metering · cc 1cre8_app_metering::preflight::tests::affordability_denial_when_balance_insufficientcheck_llm_preflightapp-metering · cc 3cre8_app_metering::preflight::check_llm_preflightcheck_manifold_cap_preflightapp-metering · cc 3cre8_app_metering::preflight::check_manifold_cap_preflightllm_affordability_quoteapp-metering · cc 3cre8_app_metering::preflight::llm_affordability_quoteManifoldRegistry::rebuild_f…app-manifold · cc 1cre8_app_manifold::contract_store::ManifoldRegistry::rebuild_fromManifoldRegistry::cap_rules…app-manifold · cc 1cre8_app_manifold::contract_store::ManifoldRegistry::cap_rules_for_assetllm_denom_candidatesapp-metering · cc 3cre8_app_metering::preflight::llm_denom_candidatesestimated_llm_costapp-metering · cc 3cre8_app_metering::preflight::estimated_llm_costrun_check_genericapp-metering · cc 1cre8_app_metering::preflight::run_check_generic

Control flow

Source not readable from this process.

Callers 8

Callees 2

Source not readable from this process.