Skip to content

Commit 3b62446

Browse files
committed
Make ToolCallId copy
1 parent ac582bd commit 3b62446

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

rust/acp.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,6 @@ where
284284
log::error!("failed to parse {method} message result: {error}. Raw: {result}");
285285
}
286286
}
287-
} else {
288-
dbg!(&message.id, response_senders.lock().keys().collect::<Vec<_>>());
289287
}
290288
}
291289
}

rust/schema.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ pub struct PushToolCallResponse {
515515
pub id: ToolCallId,
516516
}
517517

518-
#[derive(Clone, Debug, Serialize, Deserialize, JsonSchema, Eq, PartialEq, Hash)]
518+
#[derive(Copy, Clone, Debug, Serialize, Deserialize, JsonSchema, Eq, PartialEq, Hash)]
519519
#[serde(rename_all = "camelCase")]
520520
pub struct ToolCallId(pub u64);
521521

0 commit comments

Comments
 (0)