Skip to content

feat:Implement Gemini ASR support and remove preview routing - #83

Open
seymourtang wants to merge 2 commits into
release/v2.8.0from
feat/gemini_asr
Open

feat:Implement Gemini ASR support and remove preview routing#83
seymourtang wants to merge 2 commits into
release/v2.8.0from
feat/gemini_asr

Conversation

@seymourtang

@seymourtang seymourtang commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Promotes Gemini ASR from the preview gateway to the production regional API while preserving backward compatibility and the reusable preview routing infrastructure.

Changes

  • Added production GeminiSTT support to the standard global vendor namespace.
  • Preserved existing Gemini options, default model, default sample rate, custom vocabulary, and word timestamp validation.
  • Added language_hints for candidate transcription languages.
  • Kept language_codes as a deprecated alias with a DeprecationWarning.
  • Applied precedence: language_hints > language_codes > additional_params.
  • Preserved legacy imports from agora_agent.agentkit.preview.
  • Removed Gemini from preview feature detection so it now uses the production endpoint.
  • Retained preview client creation, feature headers, session routing, and schema bypass support for future preview providers.
  • Updated documentation, changelog, request-body coverage, and compatibility tests.

Compatibility

Existing Gemini constructor calls and preview import paths remain supported. The only routing change is that Gemini ASR sessions now use the production regional endpoint instead of the preview gateway.

@seymourtang
seymourtang force-pushed the feat/gemini_asr branch 5 times, most recently from 960f8e4 to 5124bf0 Compare September 8, 2026 15:20
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.

1 participant