KwaiAgents icon indicating copy to clipboard operation
KwaiAgents copied to clipboard

web_search无法使用

Open ZzzIKnow opened this issue 1 year ago • 9 comments

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

ZzzIKnow avatar Jan 09 '24 08:01 ZzzIKnow