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(doctor): import ChatModelEntry from tinyinference_llm
Steven Enamakel86ec6dc3ddbd
diff --git a/crates/openhuman-core/src/doctor/checks/inference_live_tests.rs b/crates/openhuman-core/src/doctor/checks/inference_live_tests.rsindex 42650d334f..bb06220429 100644--- a/crates/openhuman-core/src/doctor/checks/inference_live_tests.rs+++ b/crates/openhuman-core/src/doctor/checks/inference_live_tests.rs@@ -6,7 +6,7 @@ use crate::config::Config;use crate::core::runtime::{CoreContext, DomainSet};use crate::doctor::{DoctorCtx, DoctorOptions, DoctorTier, Finding, FindingSeverity};use serde_json::{json, Value};-use tinyinference_llm::providers::overrides::ChatModelRequest;+use tinyinference_llm::providers::overrides::{ChatModelEntry, ChatModelRequest};use wiremock::matchers::{method, path};use wiremock::{Mock, MockServer, ResponseTemplate};@@ -299,8 +299,7 @@ async fn live_probe_uses_selected_doctor_config_inside_another_ambient_context()#[tokio::test]async fn managed_chat_probe_uses_the_inspection_only_factory_callback() {use crate::inference::registry::{- register_chat_model_in, register_inspection_chat_model_in, ChatModelEntry,- InspectionChatModelFactory,+ register_chat_model_in, register_inspection_chat_model_in, InspectionChatModelFactory,};use std::sync::{atomic::{AtomicUsize, Ordering},diff --git a/crates/openhuman-core/src/doctor/checks/inference_tests.rs b/crates/openhuman-core/src/doctor/checks/inference_tests.rsindex c884749a21..08db0b2dfb 100644--- a/crates/openhuman-core/src/doctor/checks/inference_tests.rs+++ b/crates/openhuman-core/src/doctor/checks/inference_tests.rs@@ -395,9 +395,9 @@ async fn a_fully_configured_managed_default_constructs_cleanly() {use crate::config::test_env::EnvVarGuard;use crate::inference::provider::factory::PROVIDER_OPENHUMAN;use crate::inference::registry::{- register_chat_model, register_inspection_chat_model, ChatModelEntry,- InspectionChatModelFactory,+ register_chat_model, register_inspection_chat_model, InspectionChatModelFactory,};+ use tinyinference_llm::providers::overrides::ChatModelEntry;struct ManagedModel {generations: Arc<AtomicUsize>,diff --git a/crates/openhuman-core/src/doctor/inference_config_tests.rs b/crates/openhuman-core/src/doctor/inference_config_tests.rsindex b11e24941d..79e1f36935 100644--- a/crates/openhuman-core/src/doctor/inference_config_tests.rs+++ b/crates/openhuman-core/src/doctor/inference_config_tests.rs@@ -139,9 +139,9 @@ async fn a_fully_configured_managed_default_constructs_cleanly() {use crate::config::test_env::EnvVarGuard;use crate::inference::provider::factory::PROVIDER_OPENHUMAN;use crate::inference::registry::{- register_chat_model, register_inspection_chat_model, ChatModelEntry,- InspectionChatModelFactory,+ register_chat_model, register_inspection_chat_model, InspectionChatModelFactory,};+ use tinyinference_llm::providers::overrides::ChatModelEntry;struct ManagedModel {generations: Arc<AtomicUsize>,