Skip to main content

Summarise the earlier part of an assistant conversation

POST 

/plugin-api/ai/ops/conversations/:id/compact

What happens on its own once the context is nearly full, on request: one model call summarises all but the most recent steps, and the summary stands in for them from then on. compacted is false when the conversation is too short to gain anything.

Request​

Responses​

Whether it was compacted, and the context left.