@@ -89,9 +89,9 @@ Not exercised in this plan (separate scenarios):
8989 and contains exactly the six providers ` Azure ` , ` OpenAI ` , ` Gemini ` ,
9090 ` Groq ` , ` OpenRouter ` , ` Anthropic ` .
91917 . Verify the action buttons are present on the right side:
92- ** Add Model… ** , ** Remove Model** , ** Enable** / ** Disable** , ** Reload** ,
93- ** Change API… ** , ** Delete API… ** . With no selection, ** Add Model… ** ,
94- ** Remove Model** , ** Enable** , ** Change API… ** , and ** Delete API… ** are
92+ ** Add Model... ** , ** Remove Model** , ** Enable** / ** Disable** , ** Reload** ,
93+ ** Change API... ** , ** Delete API... ** . With no selection, ** Add Model... ** ,
94+ ** Remove Model** , ** Enable** , ** Change API... ** , and ** Delete API... ** are
9595 disabled; only ** Reload** is enabled.
9696
9797#### Expected Result
@@ -289,9 +289,13 @@ Not exercised in this plan (separate scenarios):
2892891 . Open the BYOK page, select the ** OpenAI** provider node, and click
290290 ** Add Model…** .
2912912 . Verify the ** Add OpenAI Models** dialog opens with fields ** Model
292- ID** (required), ** Display Name** (required ), ** Support Vision**
292+ ID** (required), ** Display Name** (optional ), ** Support Vision**
293293 checkbox, and ** Support Tool Calling** checkbox. There is no
294294 deployment-URL or API-key field for OpenAI (those are Azure-only).
295+ The ** Add** button stays disabled until ** Model ID** is non-blank;
296+ leaving ** Display Name** empty does ** not** block the ** Add** button
297+ (validation only requires Model ID for non-Azure providers, and
298+ additionally Deployment URL + API Key for Azure).
2952993 . Enter a model id (e.g. ` gpt-4o-mini-test ` ), a display name (e.g.
296300 ` My Custom Model ` ), leave the capability checkboxes at their defaults,
297301 and click ** Add** .
@@ -304,15 +308,25 @@ Not exercised in this plan (separate scenarios):
304308 for it (custom models can be removed).
3053097 . Select any non-custom model in the same provider and verify ** Remove
306310 Model** is ** disabled** (default models cannot be removed).
311+ 8 . Re-open ** Add Model…** , enter only a model id (e.g.
312+ ` gpt-4o-mini-blank-name ` ), leave ** Display Name** empty, and click
313+ ** Add** . Verify the model is created and rendered in the tree using
314+ the ** model id** as its display name (the dialog falls back to the
315+ trimmed model id when display name is blank — see
316+ ` AddByokModelDialog#buildModel ` ).
307317
308318#### Expected Result
309319- The custom model is persisted, appears in the tree, and is selectable
310320 from the chat model picker after this point.
311321- The OpenAI node count suffix updates to reflect the new model count.
322+ - When ** Display Name** is left blank, the saved model's displayed name
323+ equals the trimmed ** Model ID** .
312324
313325#### 📸 Key Screenshots
314326- [ ] ** Add OpenAI Models dialog** with required fields filled.
315327- [ ] ** Custom model in tree** showing the new display name.
328+ - [ ] ** Custom model in tree (blank display name)** — node label equals
329+ the model id.
316330
317331---
318332
0 commit comments