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(deps): migrate from tinyagents_harness to tinyinference for OpenAI types
Steven Enamakel72f3f9d81447
diff --git a/src/openhuman/inference/local/service/model_rpc.rs b/src/openhuman/inference/local/service/model_rpc.rsindex 26b8ed2503..164d486735 100644--- a/src/openhuman/inference/local/service/model_rpc.rs+++ b/src/openhuman/inference/local/service/model_rpc.rs@@ -12,7 +12,7 @@ use crate::openhuman::inference::local::ollama::{use crate::openhuman::inference::local::provider::{provider_from_config, LocalAiProvider};use tinyinference::message::Message;use tinyinference::model::{ChatModel, ModelRequest};-use tinyagents_harness::providers::openai::OpenAiModel;+use tinyinference::providers::openai::OpenAiModel;pub(super) struct ModelRpcOutcome {pub reply: String,diff --git a/src/openhuman/inference/provider/chat_template.rs b/src/openhuman/inference/provider/chat_template.rsindex aea3a88dec..ae806120a9 100644--- a/src/openhuman/inference/provider/chat_template.rs+++ b/src/openhuman/inference/provider/chat_template.rs@@ -5,4 +5,4 @@//! reusable recognition of LM Studio, llama.cpp, and Ollama template-engine//! failures belongs to the default inference driver.-pub use tinyagents_harness::providers::openai::is_chat_template_rejection_message;+pub use tinyinference::providers::openai::is_chat_template_rejection_message;diff --git a/src/openhuman/inference/provider/crate_openai.rs b/src/openhuman/inference/provider/crate_openai.rsindex 9c4dd6b57d..09291c37a0 100644--- a/src/openhuman/inference/provider/crate_openai.rs+++ b/src/openhuman/inference/provider/crate_openai.rs@@ -21,7 +21,7 @@use std::sync::Arc;use tinyinference::model::ChatModel;-use tinyagents_harness::providers::openai::{AuthStyle as CrateAuthStyle, OpenAiModel};+use tinyinference::providers::openai::{AuthStyle as CrateAuthStyle, OpenAiModel};use super::auth::AuthStyle as HostAuthStyle;diff --git a/src/openhuman/inference/provider/openhuman_backend_model.rs b/src/openhuman/inference/provider/openhuman_backend_model.rsindex d2c4dd86c6..7047cb19bf 100644--- a/src/openhuman/inference/provider/openhuman_backend_model.rs+++ b/src/openhuman/inference/provider/openhuman_backend_model.rs@@ -32,7 +32,7 @@ use tinyinference::message::Message;use tinyinference::model::{ChatModel, Modalities, ModelProfile, ModelRequest, ModelResponse, ModelStream, ProviderError,};-use tinyagents_harness::providers::openai::OpenAiModel;+use tinyinference::providers::openai::OpenAiModel;use tinyagents::{Result as TaResult, TinyAgentsError};use super::ProviderRuntimeOptions;