From 96e378e9e21092f486e6f77a083651865062d893 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sat, 18 May 2024 15:37:46 +0200 Subject: Fix OpenaiChat provider, improve proofofwork --- g4f/Provider/you/har_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/Provider/you') diff --git a/g4f/Provider/you/har_file.py b/g4f/Provider/you/har_file.py index 969ba96c..870c388e 100644 --- a/g4f/Provider/you/har_file.py +++ b/g4f/Provider/you/har_file.py @@ -115,7 +115,7 @@ async def get_telemetry_ids(proxy: str = None) -> list: if page is not None: await page.close() if browser is not None: - await browser.close() + await browser.stop() except Exception as e: if debug.logging: logging.error(e) -- cgit v1.2.3