mirror of
https://github.com/open-webui/open-webui
synced 2024-11-21 23:57:51 +00:00
fix: usage capability in model editor
This commit is contained in:
parent
822a43c53d
commit
db1a71c753
@ -210,9 +210,6 @@
|
||||
}
|
||||
});
|
||||
capabilities = { ...capabilities, ...(model?.meta?.capabilities ?? {}) };
|
||||
if (model?.owned_by === 'openai') {
|
||||
capabilities.usage = false;
|
||||
}
|
||||
|
||||
if ('access_control' in model) {
|
||||
accessControl = model.access_control;
|
||||
|
Loading…
Reference in New Issue
Block a user