Skip to content

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

test(web_chat): expect provider_error in unavailable provider turn test

Steven Enamakel539bb00a9c36
diff --git a/crates/openhuman-core/src/web_chat/web_tests_turn_lifecycle_tests.rs b/crates/openhuman-core/src/web_chat/web_tests_turn_lifecycle_tests.rs
index 748b7ee528..015060feea 100644
--- a/crates/openhuman-core/src/web_chat/web_tests_turn_lifecycle_tests.rs
+++ b/crates/openhuman-core/src/web_chat/web_tests_turn_lifecycle_tests.rs
@@ -325,7 +325,7 @@ async fn a_turn_with_an_unavailable_local_provider_ends_in_one_classified_chat_e
error_source: Some(source),
error_retryable: Some(true),
..
- } if error_type == "provider_unavailable"
+ } if error_type == "provider_error"
&& context.client_id == "real-client"
&& copy_key == "chat_error.provider_unavailable"
&& source == "provider_error"),