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
refactor(tests): drop redundant pub(crate) on harness internals
Steven Enamakelf87fa679bfb9
diff --git a/tests/support/rpc_e2e_harness.rs b/tests/support/rpc_e2e_harness.rsindex e43712c416..66ea483b42 100644--- a/tests/support/rpc_e2e_harness.rs+++ b/tests/support/rpc_e2e_harness.rs@@ -125,7 +125,7 @@ pub(crate) struct ForcedChatCompletion {/// this marker. `None` matches any request (strict FIFO).when_contains: Option<String>,/// The OpenAI-shape chat-completion body to return verbatim.- pub(crate) body: Value,+ body: Value,}pub(crate) fn with_forced_chat_completions<T>(f: impl FnOnce(&mut VecDeque<ForcedChatCompletion>) -> T) -> T {@@ -285,7 +285,7 @@ pub(crate) fn mock_upstream_router() -> Router {}fn require_string_field<'a>(- pub(crate) body: &'a Value,+ body: &'a Value,field: &str,) -> Result<&'a str, (StatusCode, Json<Value>)> {body.get(field)@@ -301,7 +301,7 @@ pub(crate) fn mock_upstream_router() -> Router {}fn require_positive_f64_field(- pub(crate) body: &Value,+ body: &Value,field: &str,) -> Result<f64, (StatusCode, Json<Value>)> {body.get(field)