fix: apply connection prefix id to the model display name as well as the id (#28950)

This commit is contained in:
G30 authored and GitHub committed 2026-08-23 15:27:09 -04:00
1 parent f64c0c87e8
commit 603e85c569
2 files changed
+4

No files matched your search

+2
View File
@@ -747,6 +747,8 @@ async def get_all_models_responses(request: Request, user: UserModel) -> list:
if prefix_id:
model['id'] = f'{prefix_id}.{model.get("id", model.get("name", ""))}'
if model.get('name'):
model['name'] = f'{prefix_id}.{model["name"]}'
if tags:
model['tags'] = tags