Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
58b5e0bf
Commit
58b5e0bf
authored
Jun 03, 2024
by
Timothy J. Baek
Browse files
fix: modelfile edit
parent
59a730cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/routes/(app)/workspace/models/edit/+page.svelte
src/routes/(app)/workspace/models/edit/+page.svelte
+5
-1
No files found.
src/routes/(app)/workspace/models/edit/+page.svelte
View file @
58b5e0bf
...
@@ -113,7 +113,11 @@
...
@@ -113,7 +113,11 @@
}
}
params
=
{
...
params
,
...
model
?.
info
?.
params
};
params
=
{
...
params
,
...
model
?.
info
?.
params
};
params
.
stop
=
params
?.
stop
?
(
params
?.
stop
??
[]).
join
(
','
)
:
null
;
params
.
stop
=
params
?.
stop
?
(
typeof
params
.
stop
===
'string'
?
params
.
stop
.
split
(
','
)
:
params
?.
stop
??
[]).
join
(
','
)
:
null
;
if
(
model
?.
owned_by
===
'openai'
)
{
if
(
model
?.
owned_by
===
'openai'
)
{
capabilities
.
usage
=
false
;
capabilities
.
usage
=
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