mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
working spend tracking + logging for response api
This commit is contained in:
parent
98718f6f09
commit
d4ed384984
1 changed files with 3 additions and 0 deletions
|
@ -742,6 +742,9 @@ class BaseLiteLLMOpenAIResponseObject(BaseModel):
|
||||||
def __contains__(self, key):
|
def __contains__(self, key):
|
||||||
return key in self.__dict__
|
return key in self.__dict__
|
||||||
|
|
||||||
|
def items(self):
|
||||||
|
return self.__dict__.items()
|
||||||
|
|
||||||
|
|
||||||
class OutputTokensDetails(BaseLiteLLMOpenAIResponseObject):
|
class OutputTokensDetails(BaseLiteLLMOpenAIResponseObject):
|
||||||
reasoning_tokens: int
|
reasoning_tokens: int
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue