Before: installed dev build
++ The current installed CLI dashboard API crashes while reading the + local AI provider config. +
+HTTP 500
+ before: HTTP 500
+{
+ "error": "Cannot read properties of undefined (reading 'trim')"
+}
+ diff --git a/.github/pr-assets/issue-1118/index.html b/.github/pr-assets/issue-1118/index.html new file mode 100644 index 00000000..eb4c4875 --- /dev/null +++ b/.github/pr-assets/issue-1118/index.html @@ -0,0 +1,191 @@ + + +
+ + ++ AI Providers route should tolerate plain OpenAI-compatible model rules + where an alias is omitted. +
++ The current installed CLI dashboard API crashes while reading the + local AI provider config. +
+before: HTTP 500
+{
+ "error": "Cannot read properties of undefined (reading 'trim')"
+}
+ + The same local config now loads, and omitted aliases normalize to an + empty string. +
+after: HTTP 200
+{
+ "familyCount": 5,
+ "openaiCompatibilityEntryCount": 1,
+ "normalizedModelAliases": [
+ {
+ "hasName": true,
+ "alias": ""
+ }
+ ]
+}
+