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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user