Archived
serve: /props answers what llama-server clients read
Front-ends built against llama-server size their context from /props' default_generation_settings.n_ctx, decide whether to offer images from modalities, and read the defaults a request inherits; on Radiance that route was a 404. Answer it with what this server can fill honestly, under llama-server's names: n_ctx (the context one request may use, left out when unknown), total_slots, modalities, the sampler defaults and build_info. No chat template text or GGUF metadata -- the server has neither.
This commit is contained in:
1 parent
7d840861af
commit
7fd2cd7fa6
5 files changed
+89
No files matched your search
@@ -1136,6 +1136,7 @@ for a model that takes no images or video.
|
||||
| `GET /health`, `/ping`, `POST /ping` | liveness |
|
||||
| `GET /load` | current load |
|
||||
| `GET /version` | server version |
|
||||
| `GET /props` | llama-server's props for the clients built against it: `n_ctx`, `total_slots`, `modalities`, the request defaults |
|
||||
| `GET /server_info` | the whole configuration of the running engine |
|
||||
| `GET /metrics` | Prometheus |
|
||||
| `POST /tokenize`, `POST /detokenize` | |
|
||||
|
||||
Reference in new issue
Block a user