Issue 1118 Evidence

AI Providers route should tolerate plain OpenAI-compatible model rules where an alias is omitted.

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')"
}

After: patched worktree build

The same local config now loads, and omitted aliases normalize to an empty string.

HTTP 200
after: HTTP 200
{
  "familyCount": 5,
  "openaiCompatibilityEntryCount": 1,
  "normalizedModelAliases": [
    {
      "hasName": true,
      "alias": ""
    }
  ]
}

Validation