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 endpoint variable

Steven Enamakel5ed547a412f2
diff --git a/crates/openhuman-tinyhumans/src/inference/managed_catalog.rs b/crates/openhuman-tinyhumans/src/inference/managed_catalog.rs
index c6e6c6783b..c051bc2cc0 100644
--- a/crates/openhuman-tinyhumans/src/inference/managed_catalog.rs
+++ b/crates/openhuman-tinyhumans/src/inference/managed_catalog.rs
@@ -310,7 +310,6 @@ pub(super) fn limits_request(model: &str, config: &Config) -> Option<DiscoveryRe
return None;
}
let inference_base = effective_api_url(&config.api_url);
- let endpoint = format!("{}/openai/v1", inference_base.trim_end_matches('/'));
let listing_url = catalog_url(config);
let auth = match resolve_backend_credential(config) {
Ok(BackendCredential::ApiKey(key)) if is_managed_endpoint_for_api_key(&listing_url) => {