Chats

Get chat advisor config

Changed on
get/api/v2/chats/config/advisor

Request

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

Response

OK

enabledboolean

Enabled is always true and cannot be changed.

max_output_tokensinteger

MaxOutputTokens caps the advisor model response tokens. 0 means use the runtime default.

max_uses_per_runinteger

MaxUsesPerRun caps how many times the advisor can be invoked per chat turn. 0 means unlimited.

Changes