mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 17:02:01 -05:00
[PR #24596] [CLOSED] fix: honor SSL verification setting for OpenAI STT #98773
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/24596
Author: @Genmin
Created: 5/12/2026
Status: ❌ Closed
Base:
dev← Head:fix/stt-ssl-verify📝 Commits (1)
7090d64fix: honor SSL verification setting for OpenAI STT📊 Changes
2 files changed (+34 additions, -0 deletions)
View changed files
📝
backend/open_webui/routers/audio.py(+1 -0)➕
test/backend/routers/test_audio.py(+33 -0)📄 Description
Pull Request Checklist
devbranch.devwith one logical change.fix:prefix.Changelog Entry
Description
AIOHTTP_CLIENT_SESSION_SSLfor OpenAI-compatible speech-to-text transcription requests made from the audio router.Fixed
verify=AIOHTTP_CLIENT_SESSION_SSLto the synchronousrequests.postcall for{STT_OPENAI_API_BASE_URL}/audio/transcriptions, so deployments using self-signed OpenAI-compatible STT endpoints can disable certificate verification consistently with the rest of the backend HTTP clients.Additional Information
Validated with:
python3 -m pytest test/backend/routers/test_audio.py -qpython3 -m py_compile backend/open_webui/routers/audio.py test/backend/routers/test_audio.pyuvx ruff check test/backend/routers/test_audio.pyuvx ruff format --check test/backend/routers/test_audio.pygit diff --checkFull-file Ruff on
backend/open_webui/routers/audio.pycurrently reports pre-existing issues unrelated to this change, so this PR keeps the production diff to the single missingverifykeyword.Screenshots or Videos
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.