server: document new status no slot available in the README.md
This commit is contained in:
parent
fb1c1d0fb1
commit
ce8fe5d88d
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue