mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
fix(proxy): suppress cyclic fallback payload inference
Limit the suppression to reportGeneralTypeIssues on the legacy payload assignment. The fallback payload is constructed as a dict and the runtime AST is unchanged Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
cbf9f49504
commit
d5a24bcc15
1 changed files with 1 additions and 1 deletions
|
|
@ -3501,7 +3501,7 @@ class ProxyBaseLLMRequestProcessing:
|
|||
),
|
||||
)
|
||||
)
|
||||
self.data = stamped
|
||||
self.data = stamped # pyright: ignore[reportGeneralTypeIssues] # cyclic payload inference
|
||||
return stamped, admitted_logging_obj
|
||||
if not at_saturation:
|
||||
self.data = rate_limited_data
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue