Skip to main content

handle_compact_self

Function handle_compact_self 

Source
pub(crate) async fn handle_compact_self(
    __arg0: State<AppState>,
    caller: Option<Extension<Caller>>,
    __arg2: Json<SelfContextRequest>,
) -> Response
Expand description

POST /api/v1/agent/self/compact: scheduled (runs when the caller’s turn ends) or refused with why.