mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
refac
This commit is contained in:
parent
932de8f1e2
commit
facb4fdf6b
@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
if (baseModel) {
|
if (baseModel) {
|
||||||
if (baseModel.owned_by === 'openai') {
|
if (baseModel.owned_by === 'openai') {
|
||||||
capabilities.usage = basemodel?.meta?.capabilities?.usage ?? false;
|
capabilities.usage = baseModel?.meta?.capabilities?.usage ?? false;
|
||||||
} else {
|
} else {
|
||||||
delete capabilities.usage;
|
delete capabilities.usage;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user