fix(proxy): freeze exception log extra mapping
Some checks failed
ai-gateway image / ai-gateway release image (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Modules / fmt, validate, test (gcp) (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Devin AI 2026-08-20 01:24:10 +00:00 committed by yucheng
parent 4ab424f211
commit 4bcd9151cc

View file

@ -1467,7 +1467,7 @@ def _log_llm_api_exception(e: Exception, litellm_call_id: str | None) -> None:
"litellm.proxy.proxy_server._handle_llm_api_exception(): Exception occured - litellm_call_id=%s - %s",
litellm_call_id,
e,
extra={"litellm_call_id": litellm_call_id},
extra=MappingProxyType({"litellm_call_id": litellm_call_id}),
)