Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
coderai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
coderai
Commits
c2bd5ffa
Commit
c2bd5ffa
authored
Mar 09, 2026
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Always use configured audio model regardless of request model parameter
parent
1cb7f4b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
coderai
coderai
+6
-5
No files found.
coderai
View file @
c2bd5ffa
...
...
@@ -2369,11 +2369,12 @@ async def create_transcription(
detail
=
"Audio transcription not configured. Use --audio-model to specify a model."
)
#
Determine
model
to
use
model_to_use
=
model
if
model
==
"whisper-1"
or
model
.
startswith
(
"audio:"
):
#
Use
configured
audio
model
model_to_use
=
audio_model
#
Determine
model
to
use
-
always
use
the
configured
audio
model
#
The
model
parameter
from
the
request
is
ignored
in
favor
of
the
configured
transcription
model
actual_model
=
audio_model
#
This
is
the
configured
transcription
model
from
--
audio
-
model
model_to_use
=
actual_model
print
(
f
"DEBUG: Transcription request model: {model}, using configured model: {actual_model}"
)
#
Check
if
Vulkan
is
available
for
whispercpp
whisper_vulkan_available
=
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment