mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
test(e2e): annotate _call return type in user budget across-keys test
This commit is contained in:
parent
ab4392cd36
commit
9c878f2ac1
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ import pytest
|
|||
|
||||
from budget_client import BudgetClient, is_budget_block
|
||||
from e2e_config import unique_marker
|
||||
from e2e_http import require_successful_call
|
||||
from e2e_http import StreamingResponse, require_successful_call
|
||||
from lifecycle import ResourceManager
|
||||
|
||||
pytestmark = pytest.mark.e2e
|
||||
|
|
@ -24,7 +24,7 @@ TINY_CAP = 3e-6
|
|||
RECORDED_SPEND_DEADLINE_SECONDS = 90
|
||||
|
||||
|
||||
def _call(client: BudgetClient, key: str):
|
||||
def _call(client: BudgetClient, key: str) -> StreamingResponse:
|
||||
return client.chat(key, MODEL, f"across {unique_marker()}", max_tokens=16)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue