Spaces:
Running
Running
Fix httpx keepalive_expiry parameter name
Browse files
providers/openai_compat.py
CHANGED
|
@@ -106,7 +106,7 @@ class OpenAIChatTransport(BaseProvider):
|
|
| 106 |
"limits": httpx.Limits(
|
| 107 |
max_keepalive_connections=20,
|
| 108 |
max_connections=100,
|
| 109 |
-
|
| 110 |
),
|
| 111 |
}
|
| 112 |
if config.proxy:
|
|
|
|
| 106 |
"limits": httpx.Limits(
|
| 107 |
max_keepalive_connections=20,
|
| 108 |
max_connections=100,
|
| 109 |
+
keepalive_expiry=30.0,
|
| 110 |
),
|
| 111 |
}
|
| 112 |
if config.proxy:
|