Skip to content

fix(transcription): tolerate chat-style apiBase for Groq/OpenAI Whisper#3663

Open
subalkum wants to merge 2 commits into
HKUDS:mainfrom
subalkum:making-Transcription-Transparent
Open

fix(transcription): tolerate chat-style apiBase for Groq/OpenAI Whisper#3663
subalkum wants to merge 2 commits into
HKUDS:mainfrom
subalkum:making-Transcription-Transparent

Conversation

@subalkum
Copy link
Copy Markdown
Contributor

@subalkum subalkum commented May 6, 2026

#3637

Summary

  • Normalize the transcription endpoint in GroqTranscriptionProvider and OpenAITranscriptionProvider: accept either a
    chat-style base (e.g. https://api.groq.com/openai/v1) or a full /audio/transcriptions URL.
  • Log the resolved transcription endpoint at DEBUG so misconfigurations don't require code edits to diagnose.

Why

Users who set providers.groq.apiBase for chat completions also had it picked up by transcription, which POSTed directly to the
chat base and 404'd:

@subalkum
Copy link
Copy Markdown
Contributor Author

subalkum commented May 6, 2026

PTAL @Re-bin :)

@chengyongru
Copy link
Copy Markdown
Collaborator

Hi @subalkum

.claude/settings.local.json shouldn't be committed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants