feat: add UI support for updating model info
This commit is contained in:
1 parent
0dbddebcb0
commit
02a4412dfc
16 files changed
+336
-41
No files matched your search
@@ -230,7 +230,7 @@ async def get_all_models():
|
||||
|
||||
def add_custom_info_to_model(model: dict):
|
||||
model["custom_info"] = next(
|
||||
(item for item in app.state.MODEL_CONFIG if item["name"] == model["id"]), {}
|
||||
(item for item in app.state.MODEL_CONFIG if item["id"] == model["id"]), {}
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user