mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-18 09:45:23 +00:00
fix(e2e): widen compaction test transport helper to Transport
Co-Authored-By: Devin AI <devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
a45059fb91
commit
8bf06435f3
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ from lifecycle import ResourceManager
|
|||
from models import LiteLLMParamsBody
|
||||
from proxy_client import ProxyClient
|
||||
from pydantic import BaseModel, Field
|
||||
from transport import HttpTransport, SplitTransport, Transport
|
||||
from transport import SplitTransport, Transport
|
||||
|
||||
pytestmark = pytest.mark.e2e
|
||||
|
||||
|
|
@ -75,7 +75,7 @@ class _StreamEvent(BaseModel):
|
|||
item: _StreamEventItem | None = None
|
||||
|
||||
|
||||
def _long_timeout_transport(transport: HttpTransport) -> Transport:
|
||||
def _long_timeout_transport(transport: Transport) -> Transport:
|
||||
if isinstance(transport, SplitTransport):
|
||||
return dataclasses.replace(
|
||||
transport,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue