mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-23 09:10:55 -05:00
refac
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user