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
- 200
- 400
- 404
- 502
Whether it was compacted, and the context left.
No provider or model.
Conversation or provider not found.
The provider could not summarise it.