mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
Merge pull request #4474 from BerriAI/litellm_store_full_exception_inDB
[Fix] Proxy ErrorLogs store raw exception in error log
This commit is contained in:
commit
22ad5b407e
1 changed files with 1 additions and 1 deletions
|
|
@ -593,7 +593,7 @@ async def _PROXY_failure_handler(
|
|||
_model_id = _metadata.get("model_info", {}).get("id", "")
|
||||
_model_group = _metadata.get("model_group", "")
|
||||
api_base = litellm.get_api_base(model=_model, optional_params=_litellm_params)
|
||||
_exception_string = str(_exception)[:500]
|
||||
_exception_string = str(_exception)
|
||||
|
||||
error_log = LiteLLM_ErrorLogs(
|
||||
request_id=str(uuid.uuid4()),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue