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(chat): reject billing copy in any case
Steven Enamakel36f37e9029a2
diff --git a/crates/openhuman-core/src/cron/scheduler_classifier_and_delivery_tests.rs b/crates/openhuman-core/src/cron/scheduler_classifier_and_delivery_tests.rsindex 69550f35a0..184ee5d3dc 100644--- a/crates/openhuman-core/src/cron/scheduler_classifier_and_delivery_tests.rs+++ b/crates/openhuman-core/src/cron/scheduler_classifier_and_delivery_tests.rs@@ -141,7 +141,8 @@ fn agent_error_to_user_message_does_not_infer_credits_from_empty_response() {let err = AgentError::EmptyProviderResponse { iteration: 1 };let msg = agent_error_to_user_message(&err);assert!(- !msg.to_ascii_lowercase().contains("credit") && !msg.contains("Billing"),+ !msg.to_ascii_lowercase().contains("credit")+ && !msg.to_ascii_lowercase().contains("billing"),"must not infer credit exhaustion from an empty completion: {msg}");assert!(diff --git a/crates/openhuman-core/src/web_chat/web_tests_error_code_classification_tests.rs b/crates/openhuman-core/src/web_chat/web_tests_error_code_classification_tests.rsindex b8f3da460f..c9c63391d2 100644--- a/crates/openhuman-core/src/web_chat/web_tests_error_code_classification_tests.rs+++ b/crates/openhuman-core/src/web_chat/web_tests_error_code_classification_tests.rs@@ -10,7 +10,7 @@ fn classify_inference_error_empty_response_does_not_claim_credit_exhaustion() {assert_eq!(classified.error_type, "empty_response");assert!(!classified.message.to_ascii_lowercase().contains("credit")- && !classified.message.contains("Billing"),+ && !classified.message.to_ascii_lowercase().contains("billing"),"must not infer credit exhaustion from an empty completion: {}",classified.message);