Skip to content
1 viewer

rust 1,863,595 · typescript 236,003 · javascript 133,240 · python 20,426 · 6,417 files · digest 7acfed189d2a · built in 1.9 s · crystals off

llm_affordability_quote

cre8_app_metering::preflight::llm_affordability_quote

fn · cre8-app-metering · crates/cre8-app-metering/src/preflight.rs:81 documented

22lines
3cyclomatic
2max nesting
11statements
0? exits
5params
1callers
2callees
1.1 (p81)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (1 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 sitename · 1 sitepath · 2 sitespath · 2 sitesname · 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_preflightllm_affordability_quoteapp-metering · cc 3cre8_app_metering::preflight::llm_affordability_quotellm_denom_candidatesapp-metering · cc 3cre8_app_metering::preflight::llm_denom_candidatesestimated_llm_costapp-metering · cc 3cre8_app_metering::preflight::estimated_llm_costunit_prices_forapp-metering · cc 6cre8_app_metering::pricing::unit_prices_forcheapest_priceapp-metering · cc 1cre8_app_metering::pricing::cheapest_price

Control flow

Source not readable from this process.

Callers 1

Callees 2

Source not readable from this process.