-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathrequirements.txt
More file actions
22 lines (22 loc) · 968 Bytes
/
Copy pathrequirements.txt
File metadata and controls
22 lines (22 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
fastapi>=0.110
uvicorn>=0.29
httpx[socks]>=0.27
xxhash>=3.4
dnspython>=2.6
packaging>=23
python-multipart>=0.0.20 # multipart/form-data parsing for OpenAI Images API compat
blake3>=1.0
cryptography>=42.0
websockets>=15.0
tiktoken>=0.12.0
# httpcore: directly subclassed in src/proxy/connector.py for the SS2022 network backend
# (AsyncNetworkStream/AsyncNetworkBackend/AsyncConnectionPool). Currently pulled in via httpx,
# but we import its API directly, so pin it explicitly.
httpcore>=1.0,<2
# starlette: imported directly in src/openai/responses_ws.py (WebSocketDisconnect/WebSocketState).
# Pulled in via fastapi, but we use its API directly, so declare it explicitly.
starlette>=0.46
# python-socks: hidden runtime dependency. websockets dynamically imports python_socks when
# connecting through a SOCKS5 proxy (src/failover.py + src/openai/responses_ws.py).
# Without it: ImportError: connecting through a SOCKS proxy requires python-socks.
python-socks>=2.0