XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

fix: await stop_browser call in GoogleSearch to ensure proper asynchronous execution

0563c0c1
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/Provider/search/GoogleSearch.py +1 -1
@@ -50,4 +50,4 @@ class GoogleSearch(AsyncGeneratorProvider, AuthFileMixin):
50 50 await asyncio.sleep(1000)
51 51 finally:
52 52 if stop_browser is not None:
53 stop_browser()
53 await stop_browser()