From f64a52bd33ba9e245618e73b7def063bc5566a0f Mon Sep 17 00:00:00 2001 From: Sanchit Monga Date: Sun, 27 Sep 2026 22:38:04 -0700 Subject: [PATCH] fix: repair test_wally_harness deepseek test after the Rust port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tests/test_wally_harness.rs called harness::build_deep_seek_settings, which the Rust port (#133) never defined — the real function is build_deep_seek_llm_config, and its JSON has providers at the top level rather than nested under llm-pi-ai. The mismatch fails to compile wally_rust_tests on every CI platform (windows, windows-arm64, macos, linux), so main has been red since the port merged. Verified: cargo test (all 20 binaries, 559 tests passing) and cargo clippy --all-targets both pass clean. Co-Authored-By: Claude Sonnet 5 --- tests/test_wally_harness.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_wally_harness.rs b/tests/test_wally_harness.rs index dfec00a7..7a5ab556 100644 --- a/tests/test_wally_harness.rs +++ b/tests/test_wally_harness.rs @@ -1197,14 +1197,14 @@ fn openclaw_config_declares_the_harness() { #[test] fn deepseek_settings_declare_the_harness() { - let settings: Value = serde_json::from_str(&harness::build_deep_seek_settings( + let settings: Value = serde_json::from_str(&harness::build_deep_seek_llm_config( "https://inference.runanywhere.ai/v1", "RUNANYWHERE_API_KEY", &declare_catalog(), )) .unwrap(); assert_eq!( - settings["llm-pi-ai"]["providers"]["runanywhere"]["headers"], + settings["providers"]["runanywhere"]["headers"], serde_json::json!({"X-RA-Harness": "deepseek"}) ); }