The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(crate-openai): remove with_http_client call not available in pinned tinyagents-language
shanud7a1758b76ca
diff --git a/src/openhuman/inference/provider/crate_openai.rs b/src/openhuman/inference/provider/crate_openai.rsindex 80f1cf053a..09291c37a0 100644--- a/src/openhuman/inference/provider/crate_openai.rs+++ b/src/openhuman/inference/provider/crate_openai.rs@@ -95,23 +95,12 @@ pub(crate) struct CrateOpenAiConfig<'a> {/// Build a crate-native `OpenAiModel` (`ChatModel`) for the given OpenAI-compatible/// provider config.pub(crate) fn build_crate_openai_model(config: CrateOpenAiConfig<'_>) -> Arc<dyn ChatModel<()>> {- // Use the platform-specific TLS backend so requests reach corporate- // endpoints that sit behind TLS-inspection proxies. On Windows this means- // schannel, which reads from the Windows certificate store; on macOS/Linux- // rustls is preferred. The 30-second connect-timeout matches the- // tinyinference default so behaviour is unchanged on non-Windows hosts.- let http_client = crate::openhuman::util::tls::tls_client_builder()- .connect_timeout(std::time::Duration::from_secs(30))- .build()- .expect("platform TLS reqwest client builds");-let mut model = OpenAiModel::compatible_provider(config.provider_name,config.api_key,config.endpoint,config.model,)- .with_http_client(http_client).with_auth_style(map_auth_style(config.auth_style));if !config.temperature_unsupported_models.is_empty() {