From 772bb15ed98436de5392345d7e8750dc8757a41c Mon Sep 17 00:00:00 2001 From: Chummy Date: Thu, 19 Feb 2026 18:59:44 +0800 Subject: [PATCH] fix(tests): stabilize issue #868 model refresh regression --- src/onboard/wizard.rs | 3 ++- src/providers/compatible.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/onboard/wizard.rs b/src/onboard/wizard.rs index 6747e66..792e5af 100644 --- a/src/onboard/wizard.rs +++ b/src/onboard/wizard.rs @@ -5428,7 +5428,8 @@ mod tests { let config = Config { workspace_dir: tmp.path().to_path_buf(), - default_provider: Some("venice".to_string()), + // Use a non-provider channel key to keep this test deterministic and offline. + default_provider: Some("imessage".to_string()), ..Config::default() }; diff --git a/src/providers/compatible.rs b/src/providers/compatible.rs index 7e30d4f..cefb8d8 100644 --- a/src/providers/compatible.rs +++ b/src/providers/compatible.rs @@ -2166,7 +2166,7 @@ mod tests { } #[test] - fn strip_think_tags_removes_multiple_blocks() { + fn strip_think_tags_removes_multiple_blocks_with_surrounding_text() { let input = "Answer A hidden 1 and B hidden 2 done"; let output = strip_think_tags(input); assert_eq!(output, "Answer A and B done");