server: document new status no slot available in the README.md

This commit is contained in:
Pierrick HYMBERT 2024-02-17 15:05:14 +01:00
parent fb1c1d0fb1
commit ce8fe5d88d

View file

@ -135,6 +135,7 @@ node index.js
- `{"status": "loading model"}` if the model is still being loaded.
- `{"status": "error"}` if the model failed to load.
- `{"status": "ok"}` if the model is successfully loaded and the server is ready for further requests mentioned below.
- `{"status": "no slot available", "slots_idle": 0, "slots_processing": 32}` if no slot are currently available
- **POST** `/completion`: Given a `prompt`, it returns the predicted completion.