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