mirror of
https://github.com/xtekky/gpt4free.git
synced 2026-04-22 15:47:11 +08:00
fix: await stop_browser call in GoogleSearch to ensure proper asynchronous execution
This commit is contained in:
@@ -50,4 +50,4 @@ class GoogleSearch(AsyncGeneratorProvider, AuthFileMixin):
|
||||
await asyncio.sleep(1000)
|
||||
finally:
|
||||
if stop_browser is not None:
|
||||
stop_browser()
|
||||
await stop_browser()
|
||||
Reference in New Issue
Block a user