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

XFEstudio/gpt4free

Fix uittests

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

代码差异

1 个文件 +1 -1
Modified g4f/tools/web_search.py +1 -1
@@ -213,7 +213,7 @@ async def search(
213 213
214 214 results: List[SearchResultEntry] = []
215 215 # Use the new DDGS() context manager style
216 async with DDGS() as ddgs:
216 with DDGS() as ddgs:
217 217 async for result in ddgs.text(
218 218 query,
219 219 region=region,