Skip to content

Gemini STT: add latest google models for STT#763

Merged
Prajna1999 merged 1 commit intomainfrom
fix/add-other-models-for-google
Apr 15, 2026
Merged

Gemini STT: add latest google models for STT#763
Prajna1999 merged 1 commit intomainfrom
fix/add-other-models-for-google

Conversation

@Prajna1999
Copy link
Copy Markdown
Collaborator

@Prajna1999 Prajna1999 commented Apr 15, 2026

Summary

Target issue is #764
Added support for "gemini-2.5-flash", "gemini-3.1-pro-preview", "gemini-3-flash-preview" as optional models for Google alongside default gemini-2.5.-pro

Checklist

Before submitting a pull request, please ensure that you mark these task.

  • Ran fastapi run --reload app/main.py or docker compose up in the repository root and test.
  • If you've fixed a bug or added code that is tested and has test cases.

Notes

Please add here if any other information is required for the reviewer.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 15, 2026

📝 Walkthrough

Walkthrough

The change expands the list of supported Google Speech-to-Text (STT) models by adding three new Gemini model variants (gemini-3.1-pro-preview, gemini-3-flash-preview, gemini-2.5-flash) to the existing SUPPORTED_MODELS configuration constant.

Changes

Cohort / File(s) Summary
STT Model Configuration
backend/app/models/llm/constants.py
Expanded Google STT supported models list from a single default model to include three additional Gemini model variants.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A rabbit's voice now has more ears,
Three Gemini whispers through the years,
More models bloom, our choices grow wide,
Speech flows freely far and side! 🌟

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically summarizes the main change: adding latest Google models (gemini-3.1-pro-preview, gemini-3-flash-preview, gemini-2.5-flash) for STT support.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/add-other-models-for-google

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Prajna1999 Prajna1999 changed the title chore: add latest google models for STT Gemini STT: add latest google models for STT Apr 15, 2026
@Prajna1999 Prajna1999 self-assigned this Apr 15, 2026
@Prajna1999 Prajna1999 linked an issue Apr 15, 2026 that may be closed by this pull request
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Prajna1999 Prajna1999 merged commit d9c60c4 into main Apr 15, 2026
3 checks passed
@Prajna1999 Prajna1999 deleted the fix/add-other-models-for-google branch April 15, 2026 09:57
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.

TTS/STT : Support latest Gemini models for STT

3 participants