mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
test responses api non streaming
This commit is contained in:
parent
4fb521c251
commit
c5f87d1d65
1 changed files with 2 additions and 0 deletions
|
|
@ -1580,6 +1580,8 @@ class Logging(LiteLLMLoggingBaseClass):
|
|||
"usage",
|
||||
transformed_usage.model_dump() if hasattr(transformed_usage, 'model_dump') else dict(transformed_usage),
|
||||
)
|
||||
if (standard_logging_payload := self.model_call_details.get("standard_logging_object")) is not None:
|
||||
standard_logging_payload["response"] = result.model_dump() if hasattr(result, 'model_dump') else dict(result)
|
||||
|
||||
if (
|
||||
litellm.max_budget
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue