返回提交历史
Modified
g4f/tools/run_tools.py
+1
-0
XFEstudio/gpt4free
Test search
41716dad
代码差异
1 个文件
+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