-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web_search无法使用 #17
Comments
请问可以在 if __name__ == "__main__":
search_tool = SearchTool()
print(search_tool("刘德华老婆")) |
Traceback (most recent call last): Traceback (most recent call last): |
我这网址是可以访问的,在工具类下也不能使用 |
Hi 你在命令行代理开了不,终端里直接 |
|
需要在命令行中开代理嘛 |
需要的,指定 |
重新刷一下dns缓存看看是否可以么?curl一下主网站呢? |
Traceback (most recent call last):
File "c:\users\user\desktop\kwaiagents-main\kwaiagents-main\kwaiagents\tools\search.py", line 119, in _retry_search_result
if not search_results and counter >= 2:
^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'search_results' where it is not associated with a value
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\user\desktop\kwaiagents-main\kwaiagents-main\kwaiagents\tools\search.py", line 119, in _retry_search_result
if not search_results and counter >= 2:
^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'search_results' where it is not associated with a value
The text was updated successfully, but these errors were encountered: