Skip to content

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

chore: remove unused import and replace doc link with plain text

Steven Enamakel4582ef4eb178
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/nudge_injector.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/nudge_injector.rs
index 6805e3e5af..76e6c2a762 100644
--- a/crates/openhuman-core/src/agent/tinyagents/middleware/nudge_injector.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/nudge_injector.rs
@@ -1,4 +1,4 @@
-//! Request-scoped delivery of [`RepeatedToolFailureMiddleware`] nudges.
+//! Request-scoped delivery of `RepeatedToolFailureMiddleware` nudges.
//!
//! Split from `repeated_failure.rs` to stay under the Rust layout line limit.
@@ -11,9 +11,7 @@ use tinyagents_harness::error::Result as TaResult;
use tinyagents_harness::middleware::{push_ephemeral_instruction, Middleware};
use tinyinference_llm::model::ModelRequest;
-use super::repeated_failure::RepeatedToolFailureMiddleware;
-
-/// Appends queued [`RepeatedToolFailureMiddleware`] nudges to the next model
+/// Appends queued `RepeatedToolFailureMiddleware` nudges to the next model
/// request, then forgets them. The request is built from a copy of the working
/// transcript, so nothing it adds is ever committed.
/// [`push_ephemeral_instruction`] places them: a tail system message, except on
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rs
index 6ece2e8f32..3d393a4964 100644
--- a/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/repeated_failure.rs
@@ -14,7 +14,6 @@ use tinyagents_harness::no_progress::{
ClassifiedFailure, ClassifiedFailureTracker, NoProgress, NoProgressTracker, ToolAttempt,
};
use tinyagents_harness::steering::{SteeringCommand, SteeringHandle};
-use tinyinference_llm::model::ModelRequest;
use tinyinference_llm::tool::ToolCall as TaToolCall;
use tinytools::ToolResult as TaToolResult;