Skip to content

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

test(web_chat): add dump test for error copy fixture

Steven Enamakel671b5778e70a
diff --git a/crates/openhuman-core/src/web_chat/web_tests_error_copy_fixture_tests.rs b/crates/openhuman-core/src/web_chat/web_tests_error_copy_fixture_tests.rs
index 5ef66c35ed..b78f7cfca1 100644
--- a/crates/openhuman-core/src/web_chat/web_tests_error_copy_fixture_tests.rs
+++ b/crates/openhuman-core/src/web_chat/web_tests_error_copy_fixture_tests.rs
@@ -303,3 +303,11 @@ fn loop_guard_halt_summaries_are_byte_identical() {
terminal_inference_halt_summary(TerminalInferenceFailure::BudgetExhausted, "t", &long);
assert!(summary.ends_with(&format!("{}\n\u{2026} [truncated]", "x".repeat(600))));
}
+
+#[test]
+fn zz_dump_copy() {
+ for (case, input, ..) in EXPECTED {
+ let got = classify_inference_error(input);
+ println!("ROW {case}|{}|{}", got.copy_key, got.copy_params.map(|v| v.to_string()).unwrap_or_else(|| "null".into()));
+ }
+}