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

XFEstudio/gpt4free

Test search

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

代码差异

1 个文件 +1 -0
Modified g4f/tools/run_tools.py +1 -0
@@ -290,6 +290,7 @@ def iter_run_tools(
290 290 # Note: Using asyncio.run inside sync function is not ideal, but maintaining original pattern
291 291 messages[-1]["content"], sources = asyncio.run(do_search(messages[-1]["content"], search_query))
292 292 except Exception as e:
293 raise e
293 294 debug.error(f"Couldn't do web search:", e)
294 295
295 296 # Get API key if needed