From 9201c122e75dede6ba596d8670a3770aeab6e6f1 Mon Sep 17 00:00:00 2001 From: Tasha Upchurch Date: Fri, 22 Mar 2024 23:13:24 -0400 Subject: [PATCH] Update utils.py fix for #2655 --- litellm/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/utils.py b/litellm/utils.py index 8e9b67694..b2bacb094 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -497,7 +497,7 @@ class ModelResponse(OpenAIObject): object = "embedding" else: object = "chat.completion" - choices = [Choices()] + choices = [Choices(*choices)] if id is None: id = _generate_id() else: