Skip to content

Change DG Cloud API from beta to official one#3752

Merged
beastoin merged 1 commit into
mainfrom
change-deepgram-cloud-api-from-beta-to-official-one
Dec 14, 2025
Merged

Change DG Cloud API from beta to official one#3752
beastoin merged 1 commit into
mainfrom
change-deepgram-cloud-api-from-beta-to-official-one

Conversation

@thainguyensunya
Copy link
Copy Markdown
Collaborator

Changes:

  • Change DG Cloud API from beta to official one

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly updates the Deepgram Cloud API from the beta endpoint to the official one. However, this change leaves behind some dead code related to an unused Deepgram client. My review includes a suggestion to remove this unused code to improve the codebase's maintainability.

Comment on lines 263 to +264
# unused fn
deepgram_beta = DeepgramClient(os.getenv('DEEPGRAM_API_KEY'), deepgram_beta_options)
deepgram_beta = DeepgramClient(os.getenv('DEEPGRAM_API_KEY'), deepgram_cloud_options)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

This deepgram_beta client is marked as unused and doesn't appear to be used anywhere in the codebase. It's good practice to remove dead code to improve maintainability. The variable name is also misleading now that the beta URL is no longer used. Since this client is being removed, the deepgram_cloud_options variable and its setup on lines 249-250 and 258 also become unused and can be removed.

@beastoin beastoin merged commit 8199caa into main Dec 14, 2025
1 check passed
@beastoin beastoin deleted the change-deepgram-cloud-api-from-beta-to-official-one branch December 14, 2025 01:41
@beastoin
Copy link
Copy Markdown
Collaborator

lgtm @thainguyensunya

Glucksberg pushed a commit to Glucksberg/omi-local that referenced this pull request Apr 28, 2026
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.

2 participants