diff --git a/rust/rpc_tests.rs b/rust/rpc_tests.rs index c10f633a..fe36d608 100644 --- a/rust/rpc_tests.rs +++ b/rust/rpc_tests.rs @@ -439,6 +439,7 @@ async fn test_full_conversation_flow() { locations: vec![ToolCallLocation { path: std::path::PathBuf::from("/test/data.txt"), line: None, + column: None, }], raw_input: None, raw_output: None, @@ -460,6 +461,7 @@ async fn test_full_conversation_flow() { locations: vec![ToolCallLocation { path: std::path::PathBuf::from("/test/data.txt"), line: None, + column: None, }], raw_input: None, raw_output: None, diff --git a/rust/tool_call.rs b/rust/tool_call.rs index fbc53189..b8fa1787 100644 --- a/rust/tool_call.rs +++ b/rust/tool_call.rs @@ -123,4 +123,6 @@ pub struct ToolCallLocation { pub path: PathBuf, #[serde(default, skip_serializing_if = "Option::is_none")] pub line: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + pub column: Option, }