fix(rebase): resolve duplicate tests and gateway AppState fields

This commit is contained in:
Chummy 2026-02-19 18:01:34 +08:00
parent 268a1dee09
commit 1aec9ad9c0

View file

@ -1904,12 +1904,6 @@ mod tests {
assert_eq!(output[1].content, "ack"); assert_eq!(output[1].content, "ack");
} }
#[test]
fn strip_think_tags_removes_multiple_blocks() {
let input = "a<think>x</think>b<think>y</think>c";
assert_eq!(strip_think_tags(input), "abc");
}
#[test] #[test]
fn strip_think_tags_drops_unclosed_block_suffix() { fn strip_think_tags_drops_unclosed_block_suffix() {
let input = "visible<think>hidden"; let input = "visible<think>hidden";