From e4bfd9db5cb6f8cc3c562519633eff2018236240 Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Thu, 21 Nov 2024 14:05:50 +0100 Subject: Improve slim docker image example, clean up OpenaiChat provider (#2397) * Improve slim docker image example, clean up OpenaiChat provider * Enhance event loop management for asynchronous generators * Fix attribute " shutdown_default_executor" not found in old python versions * asyncio file added with all async helpers --- g4f/Provider/openai/har_file.py | 1 - 1 file changed, 1 deletion(-) (limited to 'g4f/Provider/openai') diff --git a/g4f/Provider/openai/har_file.py b/g4f/Provider/openai/har_file.py index 2c7c1604..e863b6ac 100644 --- a/g4f/Provider/openai/har_file.py +++ b/g4f/Provider/openai/har_file.py @@ -25,7 +25,6 @@ class NoValidHarFileError(Exception): pass class RequestConfig: - user_agent: str = None cookies: dict = None headers: dict = None access_request_id: str = None -- cgit v1.2.3