forked from phoenix/litellm-mirror
Revert "fix(vertex_anthropic.py): Vertex Anthropic tool calling - native params "
This commit is contained in:
parent
318077edea
commit
6c5c8bbb28
6 changed files with 38 additions and 139 deletions
|
@ -426,22 +426,13 @@ class Logging:
|
|||
self.model_call_details["additional_args"] = additional_args
|
||||
self.model_call_details["log_event_type"] = "post_api_call"
|
||||
|
||||
if json_logs:
|
||||
verbose_logger.debug(
|
||||
"RAW RESPONSE:\n{}\n\n".format(
|
||||
self.model_call_details.get(
|
||||
"original_response", self.model_call_details
|
||||
)
|
||||
),
|
||||
)
|
||||
else:
|
||||
print_verbose(
|
||||
"RAW RESPONSE:\n{}\n\n".format(
|
||||
self.model_call_details.get(
|
||||
"original_response", self.model_call_details
|
||||
)
|
||||
verbose_logger.debug(
|
||||
"RAW RESPONSE:\n{}\n\n".format(
|
||||
self.model_call_details.get(
|
||||
"original_response", self.model_call_details
|
||||
)
|
||||
)
|
||||
),
|
||||
)
|
||||
if self.logger_fn and callable(self.logger_fn):
|
||||
try:
|
||||
self.logger_fn(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue