change EditorAgentMessage.id type from String to usize

This commit is contained in:
2026-07-10 08:40:51 +08:00
parent 5499af9ac1
commit 97d340ad4c
@@ -124,7 +124,7 @@ pub struct EditorAgentToolCall {
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
#[serde(rename_all = "camelCase")]
pub struct EditorAgentMessage {
pub id: String,
pub id: usize,
pub role: EditorAgentMessageRole,
pub text: String,
#[serde(default)]