mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 21:05:19 +00:00
fix: usage capability in model editor
This commit is contained in:
parent
822a43c53d
commit
db1a71c753
1 changed files with 0 additions and 3 deletions
|
|
@ -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 a new issue