Skip to content

Commit fbbfe9c

Browse files
committed
fix: read model order list from correct config key
1 parent 6381ac7 commit fbbfe9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/open_webui/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ async def get_models(request: Request, refresh: bool = False, user=Depends(get_v
847847

848848
models.append(model)
849849

850-
model_order_list = await Config.get('models.order_list')
850+
model_order_list = await Config.get('ui.model_order_list')
851851
if model_order_list:
852852
model_order_dict = {model_id: i for i, model_id in enumerate(model_order_list)}
853853
# Sort models by order list priority, with fallback for those not in the list

0 commit comments

Comments
 (0)