Handler for `GET /api/v1/sessions/{id}/prompt-template`, the prompt template the model of a session receives.
GET/api/v1/sessions/:id/prompt-template
The template of the preset the session chose when that preset carries one, else the template the local engine reports for the model of the session when it is loaded. Reading it never loads a model.
Request
Responses
- 200
- 404
- 503
The prompt template of the session and where it comes from
Session not found
Chat subsystem or backend repository unavailable