Chats

Update user chat compaction threshold

Changed on
put/api/v2/chats/config/user-compaction-thresholds/{modelConfig}

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/chats/config/user-compaction-thresholds/{modelConfig}
  • Auth
    API key in header Coder-Session-Token

Path parameters

modelConfigstring uuid required

Model config ID

Request body

threshold_percentinteger

Response

OK

model_config_idstring uuid
threshold_percentinteger

Changes