Skip to main content

patch_memory

Function patch_memory 

Source
pub async fn patch_memory(
    agent: Option<Extension<AuthenticatedAgent>>,
    db: Db,
    __arg2: Path<HashMap<String, String>>,
    __arg3: Json<Value>,
) -> Result<Json<Value>, ApiError>
Expand description

Update a memory in place. Body: attributes (merged), tags (replaces), valid_until (microseconds, or null to clear). The id is kept.