mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-29 09:27:33 -05:00
ui : document the model list index pairing, fix an em-dash
Assisted-by: pi:zai-org/GLM-5.3-Flash
This commit is contained in:
@@ -136,7 +136,7 @@ export { ConversationTransferService } from './conversation-transfer.service';
|
||||
*
|
||||
* **Server Mode Behavior:**
|
||||
* - **MODEL mode**: Only `list()` is relevant — single model always loaded
|
||||
* - **ROUTER mode**: Full lifecycle — `list()`, `load()`, `unload()`
|
||||
* - **ROUTER mode**: Full lifecycle - `list()`, `load()`, `unload()`
|
||||
*
|
||||
* **Endpoints:**
|
||||
* - `GET /v1/models` — OpenAI-compatible model list (both modes)
|
||||
|
||||
Vendored
+5
@@ -456,6 +456,11 @@ export interface ApiModelsLoadResponse {
|
||||
export interface ApiModelsListResponse {
|
||||
object: string;
|
||||
data: ApiModelDataEntry[];
|
||||
/**
|
||||
* Optional details aligned by index with `data`: `models[i]` describes
|
||||
* `data[i]`. The server fills both arrays in one pass, so the pairing only
|
||||
* holds while neither array is filtered independently.
|
||||
*/
|
||||
models?: ApiModelDetails[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user