From 0241b5401144bb24d97e59a24c598acef55da3c5 Mon Sep 17 00:00:00 2001 From: Jonathan Sowards Date: Sun, 17 Mar 2024 19:42:38 -0600 Subject: [PATCH] Remove model_names nesting in json. --- extensions/openai/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/openai/models.py b/extensions/openai/models.py index c803c6d8..65baff0c 100644 --- a/extensions/openai/models.py +++ b/extensions/openai/models.py @@ -22,7 +22,7 @@ def list_models(): for model in get_available_models(): result["data"].append(model_info_dict(model)) - return {'model_names': result} + return result def list_dummy_models():