Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(inference): remove unused provider type definitions

Steven Enamakel063facec9c89
diff --git a/crates/openhuman-core/src/inference/provider/types.rs b/crates/openhuman-core/src/inference/provider/types.rs
index d224380b3d..ce15d3b72e 100644
--- a/crates/openhuman-core/src/inference/provider/types.rs
+++ b/crates/openhuman-core/src/inference/provider/types.rs
@@ -21,6 +21,10 @@ pub struct BilledUsage {
/// `charged_amount_usd` is a local catalog estimate, not a provider charge
/// (see [`BilledUsage::with_estimated_usd`]).
pub cost_is_estimate: bool,
+ /// The provider reported what it billed for this call, so
+ /// `charged_amount_usd` is known even when it is zero (a free route).
+ /// `false` means no charge arrived; zero then means "unknown", not free.
+ pub charge_reported: bool,
}
impl BilledUsage {