From 68c7a92ee269131e4aada81fdbc994466ab38b57 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Mon, 16 Dec 2024 00:58:45 +0100 Subject: Hide api_key fields from disabeld providers --- g4f/Provider/needs_auth/OpenaiChat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/Provider/needs_auth/OpenaiChat.py') diff --git a/g4f/Provider/needs_auth/OpenaiChat.py b/g4f/Provider/needs_auth/OpenaiChat.py index 01976198..0e25a28d 100644 --- a/g4f/Provider/needs_auth/OpenaiChat.py +++ b/g4f/Provider/needs_auth/OpenaiChat.py @@ -504,7 +504,7 @@ class OpenaiChat(AsyncGeneratorProvider, ProviderModelMixin): await cls.login() async with StreamSession( impersonate="chrome", - timeout=900 + timeout=0 ) as session: async with session.get( f"{cls.url}/backend-api/synthesize", -- cgit v1.2.3