litellm/tests/e2e/router/complexity_router_client.py
yassin db0df1a341 test(e2e): rename Gateway->ProxyClient, expose as pytest fixture; drop unused grafana docs
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-07-17 16:44:55 +00:00

20 lines
540 B
Python

"""Client for the complexity auto-router e2e tests.
The suite drives the shared /chat/completions and spend-log reads on the ProxyClient,
so this client only carries the ProxyClient the shared lifecycle needs for cleanup.
"""
from __future__ import annotations
from dataclasses import dataclass
from proxy_client import ProxyClient
@dataclass(frozen=True, slots=True)
class ComplexityRouterClient:
proxy: ProxyClient
def build_client(proxy: ProxyClient) -> ComplexityRouterClient:
return ComplexityRouterClient(proxy=proxy)