From 8284f395e6dac3ceb76db82a1cfc99a3bde68f5d Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 11 Jun 2026 04:38:39 +0000 Subject: [PATCH] =?UTF-8?q?test(integration):=20add=20signature=20field=20?= =?UTF-8?q?to=20ContentBlock::Thinking=20initializers=20and=20pattern=20in?= =?UTF-8?q?=20tests/=20=E2=80=94=20the=20bins-only=20local=20run=20missed?= =?UTF-8?q?=20integration-test=20targets=20when=20the=20field=20landed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude https://claude.ai/code/session_018zaP8vUfTAsrE38L6h6fw5 --- crates/tui/tests/integration_mock_llm.rs | 3 ++- crates/tui/tests/reasoning_content_replayed_after_tool_call.rs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/tui/tests/integration_mock_llm.rs b/crates/tui/tests/integration_mock_llm.rs index ee447420..ca87c74e 100644 --- a/crates/tui/tests/integration_mock_llm.rs +++ b/crates/tui/tests/integration_mock_llm.rs @@ -79,6 +79,7 @@ fn assistant_thinking(thinking: &str, text: &str) -> Message { content: vec![ ContentBlock::Thinking { thinking: thinking.to_string(), + signature: None, }, ContentBlock::Text { text: text.to_string(), @@ -246,7 +247,7 @@ async fn reasoning_replay_required_on_subsequent_turn() { .content .iter() .find_map(|b| match b { - ContentBlock::Thinking { thinking } => Some(thinking.clone()), + ContentBlock::Thinking { thinking, .. } => Some(thinking.clone()), _ => None, }) .expect("Thinking block present"); diff --git a/crates/tui/tests/reasoning_content_replayed_after_tool_call.rs b/crates/tui/tests/reasoning_content_replayed_after_tool_call.rs index 16c0b87f..304cf896 100644 --- a/crates/tui/tests/reasoning_content_replayed_after_tool_call.rs +++ b/crates/tui/tests/reasoning_content_replayed_after_tool_call.rs @@ -32,6 +32,7 @@ fn assistant_thinking_tool_call( content: vec![ ContentBlock::Thinking { thinking: thinking.to_string(), + signature: None, }, ContentBlock::ToolUse { id: id.to_string(),