litellm/ui
Jason Cook 4f798c0d23 fix(ui): wire ChatGPT into provider_map + providerLogoMap
The enum entry ``Providers.ChatGPT = "ChatGPT (OAuth)"`` was added but
the corresponding ``provider_map["ChatGPT"]`` and
``providerLogoMap[Providers.ChatGPT]`` entries were missing. The
dropdown option still renders, but:

 - without ``provider_map[key]``, ``custom_llm_provider`` resolves to
   ``undefined`` on submit (harmless for the OAuth path — we never hit
   that submit branch — but still inconsistent with every other
   provider), and
 - without ``providerLogoMap`` the Option icon falls through to the
   "first-letter div" fallback, which reads as a visual glitch.

Add both. Reuses ``openai_small.svg`` since ChatGPT is an OpenAI product.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 10:24:26 -04:00
..
litellm-dashboard fix(ui): wire ChatGPT into provider_map + providerLogoMap 2026-04-23 10:24:26 -04:00