Skip to content

[UI] Add Deepgram provider to supported providers list and mappings #11634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 11, 2025

Conversation

ishaan-jaff
Copy link
Contributor

@ishaan-jaff ishaan-jaff commented Jun 11, 2025

[UI] Add Deepgram provider to supported providers list and mappings

  • Add deepgram models on LiteLLM UI
  • Add deepgram models into model cost map

https://www.loom.com/share/70309ec0129c44d183f1f0c8c3c7629c?sid=a2d5aac0-6d67-4712-8a40-49e7dc9254c2

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🆕 New Feature
✅ Test

Changes

Copy link

vercel bot commented Jun 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 6:36pm

@CLAassistant
Copy link

CLAassistant commented Jun 11, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ ishaan-jaff
❌ cursoragent
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds Deepgram as a supported provider by updating the enum, mapping, and logo entries.

  • Introduce Deepgram in Providers enum
  • Extend provider_map and providerLogoMap with Deepgram
Comments suppressed due to low confidence (3)

ui/litellm-dashboard/src/components/provider_info_helpers.tsx:55

  • [nitpick] The constant name provider_map uses snake_case, which is inconsistent with the camelCase naming of providerLogoMap. Consider renaming it to providerMap for consistency.
export const provider_map: Record<string, string> = {

ui/litellm-dashboard/src/components/provider_info_helpers.tsx:55

  • [nitpick] Consider using Record<Providers, string> instead of Record<string, string> for provider_map to leverage the Providers enum and improve type safety.
export const provider_map: Record<string, string> = {

ui/litellm-dashboard/src/components/provider_info_helpers.tsx:60

  • New provider Deepgram has been added, but there are no tests covering its mapping or logo retrieval. Please add unit tests to verify Deepgram appears correctly in provider_map and providerLogoMap.
    Deepgram: "deepgram"

@ishaan-jaff ishaan-jaff merged commit 52ef962 into main Jun 11, 2025
41 of 46 checks passed
stefan-- pushed a commit to stefan--/litellm that referenced this pull request Jun 12, 2025
…erriAI#11634)

* Add Deepgram provider to supported providers list and mappings

* add logo

* Add deepgram to model cost map

* ui - require api key for deepgram

* fix logo path

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
X4tar pushed a commit to X4tar/litellm that referenced this pull request Jun 17, 2025
…erriAI#11634)

* Add Deepgram provider to supported providers list and mappings

* add logo

* Add deepgram to model cost map

* ui - require api key for deepgram

* fix logo path

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants