test(integration): add signature field to ContentBlock::Thinking initializers and pattern in tests/ — the bins-only local run missed integration-test targets when the field landed

Co-Authored-By: Claude <noreply@anthropic.com>
https://claude.ai/code/session_018zaP8vUfTAsrE38L6h6fw5
This commit is contained in:
Claude
2026-06-11 04:38:39 +00:00
parent 279ad5af90
commit 8284f395e6
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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");
@@ -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(),