mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-09 16:09:10 +00:00
refac
This commit is contained in:
parent
64b92ff08a
commit
650b817925
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ async def _resolve_model_features(app, model_id: str) -> dict:
|
|||
if not default_feature_ids:
|
||||
return {}
|
||||
|
||||
capabilities = meta.get('capabilities', {})
|
||||
capabilities = meta.get('capabilities') or {}
|
||||
features = {}
|
||||
|
||||
# code_interpreter is excluded: it requires the frontend event emitter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue