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(memory): use typed insufficient credits error in fixture
Steven Enamakel5110dfa20087
diff --git a/crates/openhuman-core/src/memory/test_fixtures.rs b/crates/openhuman-core/src/memory/test_fixtures.rsindex 6f3ccbdc4e..cd4c58cf25 100644--- a/crates/openhuman-core/src/memory/test_fixtures.rs+++ b/crates/openhuman-core/src/memory/test_fixtures.rs@@ -56,9 +56,8 @@ pub(crate) struct RefusingEngine {impl RefusingEngine {/// The hosted engine's refusal for an exhausted credit balance (HTTP 402).pub(crate) fn out_of_credits() -> Self {- Self::with(tinymemory_api::Error::Engine(- "[USER_INSUFFICIENT_CREDITS] memory API fetch on api.example: the account has \- insufficient credits (HTTP 402)"+ Self::with(tinymemory_api::Error::InsufficientCredits(+ "memory API fetch on api.example: the account has insufficient credits (HTTP 402)".into(),))}