pub async fn supersede_memory(
agent: Option<Extension<AuthenticatedAgent>>,
db: Db,
__arg2: Path<HashMap<String, String>>,
__arg3: Json<Value>,
) -> Result<impl IntoResponse, ApiError>Expand description
Replace a memory. Body: content (required), memory_type (defaults to
the old memory’s), attributes, tags, embedding. The new memory keeps
the old one’s owners and space; the old one is closed now and linked from
the new one by a Supersedes edge.