mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
(feat) improve logging - show model_call_details
This commit is contained in:
parent
17bb1184bd
commit
7de87c845b
1 changed files with 1 additions and 1 deletions
|
@ -624,7 +624,7 @@ class Logging:
|
|||
self.model_call_details["log_event_type"] = "post_api_call"
|
||||
|
||||
# User Logging -> if you pass in a custom logging function
|
||||
print_verbose(f"RAW RESPONSE: {self.model_call_details}\n\n")
|
||||
print_verbose(f"RAW RESPONSE:\n{self.model_call_details.get('original_response', self.model_call_details)}\n\n")
|
||||
print_verbose(
|
||||
f"Logging Details Post-API Call: logger_fn - {self.logger_fn} | callable(logger_fn) - {callable(self.logger_fn)}"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue