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:
Aleksander Grygier
2026-09-29 13:54:41 +02:00
parent da1ca83089
commit 98253996f4
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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)
+5
View File
@@ -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[];
}