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
chore(inference): remove managed reasoning helper
Steven Enamakelbb24822a9a43
diff --git a/crates/openhuman-tinyhumans/src/inference/managed_reasoning.rs b/crates/openhuman-tinyhumans/src/inference/managed_reasoning.rsdeleted file mode 100644index 2e21a0078e..0000000000--- a/crates/openhuman-tinyhumans/src/inference/managed_reasoning.rs+++ /dev/null@@ -1,20 +0,0 @@-//! OpenHuman's provider-neutral hint for a managed call that disables reasoning.--use serde_json::Value;-use tinyinference_llm::model::ModelRequest;--pub(crate) const REASONING_OFF_METADATA_KEY: &str = "openhuman_reasoning_off";--pub(crate) fn without_reasoning(mut request: ModelRequest) -> ModelRequest {- if !request.metadata.is_object() {- request.metadata = Value::Object(serde_json::Map::new());- }- if let Some(map) = request.metadata.as_object_mut() {- map.insert(REASONING_OFF_METADATA_KEY.to_string(), Value::Bool(true));- }- request-}--#[cfg(test)]-#[path = "managed_reasoning_tests.rs"]-mod tests;diff --git a/crates/openhuman-tinyhumans/src/inference/managed_reasoning_tests.rs b/crates/openhuman-tinyhumans/src/inference/managed_reasoning_tests.rsdeleted file mode 100644index f34c409545..0000000000--- a/crates/openhuman-tinyhumans/src/inference/managed_reasoning_tests.rs+++ /dev/null@@ -1,16 +0,0 @@-use super::*;-use tinyinference_llm::message::Message;--#[test]-fn without_reasoning_marks_the_request_without_rewriting_other_options() {- let options = serde_json::json!({ "transport": { "trace": true } });- let mut request =- ModelRequest::new(vec![Message::user("hi")]).with_provider_options(options.clone());- request.metadata = serde_json::json!({ "caller": "kept" });-- let updated = without_reasoning(request);-- assert_eq!(updated.metadata["caller"], "kept");- assert_eq!(updated.metadata[REASONING_OFF_METADATA_KEY], true);- assert_eq!(updated.provider_options, options);-}