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
test(inference): remove obsolete temperature tests
Steven Enamakel46854c7bd510
diff --git a/crates/openhuman-core/src/inference/provider/factory_crate_native_tests.rs b/crates/openhuman-core/src/inference/provider/factory_crate_native_tests.rsindex 6db1c76e6e..79d034153f 100644--- a/crates/openhuman-core/src/inference/provider/factory_crate_native_tests.rs+++ b/crates/openhuman-core/src/inference/provider/factory_crate_native_tests.rs@@ -203,40 +203,7 @@ async fn one_shot_chat_models_preserve_factory_temperature_as_request_default().await.expect("explicit-temperature invoke");- let turn_model = create_turn_chat_model(- &crate::core::runtime::DispatchCtx::ambient(),- "chat",- &config,- "hint:chat",- 0.2,- )- .expect("turn model");- turn_model- .invoke(&(), ModelRequest::new(vec![Message::user("turn default")]))- .await- .expect("turn default-temperature invoke");-- let explicit_turn_model = create_turn_chat_model_from_string(- &crate::core::runtime::DispatchCtx::ambient(),- "chat",- "openhuman",- &config,- "hint:chat",- 0.4,- )- .expect("explicit turn model");- explicit_turn_model- .invoke(- &(),- ModelRequest::new(vec![Message::user("turn explicit")]).with_temperature(0.8),- )- .await- .expect("turn explicit-temperature invoke");-- assert_eq!(- *seen.lock().expect("probe lock"),- vec![Some(0.3), Some(0.9), Some(0.2), Some(0.8)]- );+ assert_eq!(*seen.lock().expect("probe lock"), vec![Some(0.3), Some(0.9)]);}// ── Motion B (#4727): managed-backend crate-native routing ──────────────────@@ -361,27 +328,6 @@ fn create_chat_model_routes_plain_bearer_cloud_slug_to_crate_native() {}#[test]-fn turn_model_route_metadata_uses_post_remap_cloud_model() {- let _guard = crate::inference::inference_test_guard();- let mut config = Config::default();- config.cloud_providers.push(deepseek_entry("p_ds"));- config.chat_provider = Some("deepseek:hint:chat".to_string());-- let (_model, provider, resolved_model) = create_turn_chat_model_with_native_tools_and_route(- &crate::core::runtime::DispatchCtx::ambient(),- "chat",- &config,- "hint:chat",- 0.7,- true,- &EgressLedger::none(),- )- .expect("abstract BYOK tier must build");-- assert_eq!(provider, "deepseek");- assert_eq!(resolved_model, "deepseek-chat");-}-#[test]fn explicit_cloud_provider_string_routes_to_crate_native_model() {let _guard = crate::inference::inference_test_guard();@@ -571,14 +517,13 @@ async fn native_claude_turn_routes_disclose_pinned_models() {let pinned_sdk = "egress-sdk-pinned-marker";let mut sdk_config = Config::default();sdk_config.chat_provider = Some(format!("claude_agent_sdk:{configured_sdk}"));- create_turn_chat_model(+ crate::inference::turn_models::TurnModelSource::new_crate_native(&crate::core::runtime::DispatchCtx::ambient(),"chat",- &sdk_config,- pinned_sdk,- 0.0,+ Arc::new(sdk_config),)- .expect("Claude Agent SDK turn model should build");+ .build(pinned_sdk, 0.0, None, None)+ .expect("Claude Agent SDK turn set should build");let configured_code = "egress-code-configured-marker";let pinned_code = "egress-code-pinned-marker";@@ -587,13 +532,12 @@ async fn native_claude_turn_routes_disclose_pinned_models() {// Egress is disclosed once the effective model is selected, before the// environment probe. The test therefore remains valid on hosts without the// Claude Code CLI.- let _ = create_turn_chat_model(+ let _ = crate::inference::turn_models::TurnModelSource::new_crate_native(&crate::core::runtime::DispatchCtx::ambient(),"chat",- &code_config,- pinned_code,- 0.0,- );+ Arc::new(code_config),+ )+ .build(pinned_code, 0.0, None, None);let sentinel = "egress-native-claude-sentinel-end";BUS.publish(DomainEvent::ExternalTransferPending {