Function attach_estimated_cost_for_provider

View as MarkdownOpen in Claude

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub fn attach_estimated_cost_for_provider(
    response: &mut AnnotatedLlmResponse,
    provider: Option<&str>,
)

Adds a provider-aware model-pricing estimate to a normalized response when cost is missing.

Existing provider-reported or caller-supplied costs are preserved.