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
1fbcf133
Commit
1fbcf133
authored
May 25, 2024
by
Timothy J. Baek
Browse files
fix: model edit
parent
bd6ccf8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/routes/(app)/workspace/models/edit/+page.svelte
src/routes/(app)/workspace/models/edit/+page.svelte
+2
-1
No files found.
src/routes/(app)/workspace/models/edit/+page.svelte
View file @
1fbcf133
...
@@ -103,10 +103,11 @@
...
@@ -103,10 +103,11 @@
info
.
base_model_id
=
`${
info
.
base_model_id
}:
latest
`;
info
.
base_model_id
=
`${
info
.
base_model_id
}:
latest
`;
}
}
params
=
{
...
params
,
...
model
?.
info
?.
params
};
if
(
model
?.
info
?.
meta
?.
capabilities
)
{
if
(
model
?.
info
?.
meta
?.
capabilities
)
{
capabilities
=
{
...
capabilities
,
...
model
?.
info
?.
meta
?.
capabilities
};
capabilities
=
{
...
capabilities
,
...
model
?.
info
?.
meta
?.
capabilities
};
}
}
console
.
log
(
model
);
console
.
log
(
model
);
}
else
{
}
else
{
goto
(
'/workspace/models'
);
goto
(
'/workspace/models'
);
...
...
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