Skip to content

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

refactor(inference): rename CatalogRequest to CatalogHostRequest

Steven Enamakelb722b887cdeb
diff --git a/crates/openhuman-core/src/inference/provider/models/catalog_listing.rs b/crates/openhuman-core/src/inference/provider/models/catalog_listing.rs
index 4a68401613..dbdc7cec45 100644
--- a/crates/openhuman-core/src/inference/provider/models/catalog_listing.rs
+++ b/crates/openhuman-core/src/inference/provider/models/catalog_listing.rs
@@ -183,7 +183,7 @@ pub async fn list_configured_models_from_config(
));
}
- let crate::inference::registry::CatalogRequest {
+ let crate::inference::registry::CatalogHostRequest {
provider_key: api_key,
client,
} = catalog_request(config, Some(&entry))?;
diff --git a/crates/openhuman-tinyhumans/src/inference/managed_catalog_tests.rs b/crates/openhuman-tinyhumans/src/inference/managed_catalog_tests.rs
index f36a0c6314..588169533a 100644
--- a/crates/openhuman-tinyhumans/src/inference/managed_catalog_tests.rs
+++ b/crates/openhuman-tinyhumans/src/inference/managed_catalog_tests.rs
@@ -145,7 +145,7 @@ async fn managed_catalog_treats_http_401_as_signed_out_only_for_an_attached_sess
let result = list_models(
&config,
- CatalogRequest {
+ CatalogHostRequest {
provider_key: String::new(),
client: reqwest::Client::new(),
},
@@ -170,7 +170,7 @@ async fn managed_catalog_keeps_provider_key_401_as_a_provider_error() {
let error = list_models(
&config,
- CatalogRequest {
+ CatalogHostRequest {
provider_key: "fixture-provider-key".into(),
client: reqwest::Client::new(),
},
@@ -195,7 +195,7 @@ async fn managed_catalog_does_not_infer_http_status_from_error_payload_text() {
let error = list_models(
&config,
- CatalogRequest {
+ CatalogHostRequest {
provider_key: String::new(),
client: reqwest::Client::new(),
},