From d57dc616b86cf2c38ebf5128bebc1c35bf0af235 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Tue, 31 Oct 2023 15:32:04 -0700 Subject: [PATCH] (feat) text_completion return raw response for davinci003 --- litellm/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/utils.py b/litellm/utils.py index 08e6f4cb02..d7aa6a0a8f 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -194,6 +194,7 @@ class ModelResponse(OpenAIObject): self.usage = usage else: self.usage = Usage() + self._hidden_params = {} # used in case users want to access the original model response super(ModelResponse, self).__init__(**params) def to_dict_recursive(self):