Update OpenaiChat.py with local socks5

pull/1914/head
hdsz25 4 weeks ago committed by GitHub
parent d47e3b7fcc
commit a3d4c71fa2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -317,7 +317,7 @@ class OpenaiChat(AsyncGeneratorProvider, ProviderModelMixin):
cls,
model: str,
messages: Messages,
proxy: str = None,
proxy: str = "socks5://localhost:1080",
timeout: int = 180,
api_key: str = None,
cookies: Cookies = None,

Loading…
Cancel
Save