Chats
Compact chat
Changed onRequests a manual context compaction on an idle or errored chat, clearing any stored error. The compaction runs asynchronously through the chat worker and bypasses the automatic usage threshold.
post/api/v2/chats/{chat}/compact
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v2/chats/{chat}/compact
- AuthAPI key in header Coder-Session-Token
Path parameters
chatstring uuid required
Chat ID
Response
OK
Changes
- info
endpoint added
- info