Skip to main content

FILE_DIFF_METADATA_KEY

Constant FILE_DIFF_METADATA_KEY 

Source
pub const FILE_DIFF_METADATA_KEY: &str = "file_diff";
Expand description

Key under which file-modifying tools attach their diff payload to ToolResult::metadata. Shared so the producer (tools) and consumers (tool executor → AgentEvent::FileDiff) cannot silently desync.