Compact a conversation
POST /api/v1/llm/gateway/compact-conversation
Triggers context compaction for a conversation, summarizing older messages to reduce token usage. Returns compaction statistics including tokens before and after and tokens saved.
Request