mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-18 09:45:23 +00:00
test(routing): expect zero admission tokens in priority headers (#52065)
Co-authored-by: mateo <277851410+mateo-berri@users.noreply.github.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Yuneng Jiang <yuneng@berri.ai>
This commit is contained in:
parent
f455ec31da
commit
36b53ac7b2
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ def test_non_streaming_v1_messages_success_carries_v3_priority_rate_limit_header
|
|||
"x-ratelimit-priority_model-limit-requests": str(int(MODEL_RPM * PREMIUM_SHARE)),
|
||||
"x-ratelimit-priority_model-remaining-requests": str(int(MODEL_RPM * PREMIUM_SHARE) - 1),
|
||||
"x-ratelimit-priority_model-limit-tokens": str(int(MODEL_TPM * PREMIUM_SHARE)),
|
||||
"x-ratelimit-priority_model-remaining-tokens": str(int(MODEL_TPM * PREMIUM_SHARE) - 1),
|
||||
"x-ratelimit-priority_model-remaining-tokens": str(int(MODEL_TPM * PREMIUM_SHARE)),
|
||||
}
|
||||
observed: Final = {name: response.headers.get(name) for name in expected}
|
||||
assert observed == expected, response.headers
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue