Skip to content

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

fix(cost): use flat catalog entry for tinyagents price rows

Steven Enamakel5f95aff556b9
diff --git a/crates/openhuman-core/src/platform/cost/catalog.rs b/crates/openhuman-core/src/platform/cost/catalog.rs
index 81d68ab4d7..5d4531a358 100644
--- a/crates/openhuman-core/src/platform/cost/catalog.rs
+++ b/crates/openhuman-core/src/platform/cost/catalog.rs
@@ -28,9 +28,10 @@ pub fn default_registry_entries() -> Vec<ModelRegistryEntry> {
.collect()
}
-/// Project an owner price row with this product catalogue source label.
+/// Project an owner price row as flat metadata with this product source label.
+/// This preserves historical metadata, including its distinction from M3 tier estimates.
pub fn tinyagents_catalog_entry(price: &ModelPrice) -> tinyagents_registry::ModelCatalogEntry {
- tinyagents_registry::pricing::catalog_entry(price, TINYAGENTS_CATALOG_SOURCE)
+ tinyagents_registry::pricing::flat_catalog_entry(price, TINYAGENTS_CATALOG_SOURCE)
}
/// Source tag for local (runtime-discovered) model entries in the unified