forked from phoenix/litellm-mirror
fix(utils.py): cleanup 'additionalProperties=False' for tool calling with zod
Fixes issue with zod passing in additionalProperties=False, causing vertex ai / gemini calls to fail
This commit is contained in:
parent
25a0066123
commit
20e39d6acc
6 changed files with 27 additions and 4 deletions
|
@ -176,6 +176,7 @@ async def add_litellm_data_to_request(
|
|||
|
||||
def _add_otel_traceparent_to_data(data: dict, request: Request):
|
||||
from litellm.proxy.proxy_server import open_telemetry_logger
|
||||
|
||||
if data is None:
|
||||
return
|
||||
if open_telemetry_logger is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue