Skip to main content

handle_agent_memory_diff

Function handle_agent_memory_diff 

Source
pub(super) async fn handle_agent_memory_diff(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Query<AgentMemoryDiffQuery>,
) -> impl IntoResponse
Expand description

GET /api/v1/agent/memory/diff?agent_id=<slug>&from_version_id=&to_version_id= — a line-based diff between two recorded versions, both of which must belong to agent_id (reagent P1 — see memory_diff_impl’s own doc for why). Backs the MemoryDiff MCP tool.