Skip to content

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

chore(cost): remove unused cost type definitions

Steven Enamakelf457e88b14bf
diff --git a/crates/openhuman-core/src/platform/cost/types.rs b/crates/openhuman-core/src/platform/cost/types.rs
index 63652d233d..4b520303df 100644
--- a/crates/openhuman-core/src/platform/cost/types.rs
+++ b/crates/openhuman-core/src/platform/cost/types.rs
@@ -89,9 +89,14 @@ impl UsageScope {
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize, Default)]
#[serde(rename_all = "snake_case")]
pub enum CostSource {
+ /// Priced from the vendor catalog's published list rates.
#[default]
Estimated,
+ /// The provider reported what it billed.
ProviderCharged,
+ /// No charge was reported and the model has no catalogued price; the
+ /// record's `cost_usd` is `0.0` and must not be read as free.
+ Unknown,
}
impl TokenUsage {