Skip to content

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

test(inference): update context window test imports and readiness checks

Steven Enamakela6b9b5820f39
diff --git a/crates/openhuman-core/src/inference/context_window_tests.rs b/crates/openhuman-core/src/inference/context_window_tests.rs
index 9717087422..8c9c1b5caa 100644
--- a/crates/openhuman-core/src/inference/context_window_tests.rs
+++ b/crates/openhuman-core/src/inference/context_window_tests.rs
@@ -3,7 +3,7 @@ use std::sync::{Arc, Mutex as StdMutex};
use serde_json::{json, Value};
use tempfile::TempDir;
-use tinyinference_llm::model::context_window::ContextWindowRouteInput;
+use tinyinference_llm::model::context_window::{ContextWindowRouteInput, WindowSource};
use tinyinference_llm::model::discover::DiscoveryRequest;
use tinyinference_llm::model::discover::ModelLimitsCache;
diff --git a/crates/openhuman-core/src/inference/readiness_tests.rs b/crates/openhuman-core/src/inference/readiness_tests.rs
index 08b36ab193..2d424df52b 100644
--- a/crates/openhuman-core/src/inference/readiness_tests.rs
+++ b/crates/openhuman-core/src/inference/readiness_tests.rs
@@ -37,6 +37,7 @@ async fn cached_probe_serves_definitive_negative_results() {
counter.fetch_add(1, Ordering::SeqCst);
Box::pin(async { Err("API key not configured for provider".to_string()) })
})),
+ models: None,
},
);