mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix(pass_through_endpoints.py): fix client init
This commit is contained in:
parent
4ca677638f
commit
7a95132a03
2 changed files with 4 additions and 5 deletions
|
@ -90,9 +90,8 @@ async def test_pass_through_endpoint_rerank(client):
|
|||
[(True, 0, 429), (True, 1, 200), (False, 0, 401)],
|
||||
)
|
||||
@pytest.mark.asyncio
|
||||
async def test_pass_through_endpoint_rpm_limit(
|
||||
client, auth, expected_error_code, rpm_limit
|
||||
):
|
||||
async def test_pass_through_endpoint_rpm_limit(auth, expected_error_code, rpm_limit):
|
||||
client = TestClient(app)
|
||||
import litellm
|
||||
from litellm.proxy._types import UserAPIKeyAuth
|
||||
from litellm.proxy.proxy_server import ProxyLogging, hash_token, user_api_key_cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue