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
591a2926
Commit
591a2926
authored
May 06, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: make whisper-server builder reset explicit
parent
517a59b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
models.html
codai/admin/templates/models.html
+1
-0
test_whisper_server_local_models.py
tests/test_whisper_server_local_models.py
+1
-0
No files found.
codai/admin/templates/models.html
View file @
591a2926
...
...
@@ -1421,6 +1421,7 @@ async function addWhisperServerModel(){
if
(
!
r
.
ok
)
throw
new
Error
(
d
.
detail
||
'Failed to add whisper-server model'
);
document
.
getElementById
(
'ws-model-id'
).
value
=
''
;
document
.
getElementById
(
'ws-server-path'
).
value
=
''
;
resetWhisperServerBuilderDefaults
();
refreshLocal
();
}
catch
(
e
){
alert
(
'Error: '
+
e
.
message
);
}
}
...
...
tests/test_whisper_server_local_models.py
View file @
591a2926
...
...
@@ -632,6 +632,7 @@ def test_models_template_resets_whisper_server_builder_defaults_after_refresh_an
assert
"resetWhisperServerBuilderDefaults();"
in
template
assert
"document.getElementById('ws-model-id').value = '';"
in
template
assert
"document.getElementById('ws-server-path').value = '';"
in
template
assert
"resetWhisperServerBuilderDefaults();
\n
refreshLocal();"
in
template
assert
"refreshLocal();"
in
template
...
...
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