Skip to main content

handle_agent_globalmemory_diff

Function handle_agent_globalmemory_diff 

Source
pub(super) async fn handle_agent_globalmemory_diff(
    __arg0: State<AppState>,
    __arg1: Query<AgentGlobalMemoryDiffQuery>,
) -> impl IntoResponse
Expand description

GET /api/v1/agent/globalmemory/diff?id=<id>&from_version_id=&to_version_id= — a line-based diff between two recorded versions, both of which must belong to id (same ownership check as /api/v1/agent/memory/diff’s agent_id scoping — see global_memory_diff_impl’s own doc comment for why). Backs the GlobalMemoryDiff MCP tool.