mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
(feat) text_completion return raw response for davinci003
This commit is contained in:
parent
80c6920709
commit
d57dc616b8
1 changed files with 1 additions and 0 deletions
|
@ -194,6 +194,7 @@ class ModelResponse(OpenAIObject):
|
||||||
self.usage = usage
|
self.usage = usage
|
||||||
else:
|
else:
|
||||||
self.usage = Usage()
|
self.usage = Usage()
|
||||||
|
self._hidden_params = {} # used in case users want to access the original model response
|
||||||
super(ModelResponse, self).__init__(**params)
|
super(ModelResponse, self).__init__(**params)
|
||||||
|
|
||||||
def to_dict_recursive(self):
|
def to_dict_recursive(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue