mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
test(proxy): give the anthropic counter patch its test-quality-ok reason
This commit is contained in:
parent
1e189df174
commit
c79776d3da
1 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ async def test_internal_token_counter_anthropic_provider_detection():
|
|||
)
|
||||
|
||||
# Test with is_direct_request=False (simulating call from Anthropic endpoint)
|
||||
with patch(
|
||||
with patch( # test-quality-ok: the module-global anthropic counter is the only seam; the test checks provider detection, not the counter
|
||||
"litellm.llms.anthropic.count_tokens.token_counter.anthropic_count_tokens_handler",
|
||||
mock_handler,
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue