-
[NA] [SDK] Restrict LiteLLM to <1.77.5 due to trace payload indentation bug (#3592)
发布于
2025-10-07 18:22:18 +00:00 LiteLLM commit dd4fa371 (v1.77.5+) changed the indentation of the
trace payload.append() block (lines 319-332), moving it outside
of its intended conditional scope. This breaks Opik's evaluation
trace context by creating traces at the wrong time.This change caps LiteLLM at version 1.77.4 to prevent the issue.
See: https://github.com/BerriAI/litellm/commit/dd4fa371fa59ef635a86ea3788639c456019fa59
Specifically the dedent of payload.append() for trace data.下载附件