mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-01 02:02:20 +00:00
14 lines
276 B
Python
14 lines
276 B
Python
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from proxy_client import ProxyClient
|
|
|
|
|
|
@dataclass(frozen=True, slots=True)
|
|
class LoadClient:
|
|
proxy: ProxyClient
|
|
|
|
|
|
def build_client(proxy: ProxyClient) -> LoadClient:
|
|
return LoadClient(proxy=proxy)
|