Bug Description
app/tool/web_search.py:100: RuntimeWarning: coroutine 'DuckDuckGoSearchEngine.perform_search' was never awaited
Need to remove async in duckduckgo_search.py
Bug solved method
class DuckDuckGoSearchEngine(WebSearchEngine):
def perform_search(self, query, num_results=10, *args, **kwargs):
"""DuckDuckGo search engine."""
return DDGS.text(query, num_results=num_results)
Environment information
- System version:
- Python version:
- OpenManus version or branch: hackathon
- Installation method (e.g.,
pip install -r requirements.txt or pip install -e .):
Extra information
No response
Bug Description
app/tool/web_search.py:100: RuntimeWarning: coroutine 'DuckDuckGoSearchEngine.perform_search' was never awaited
Need to remove
asyncin duckduckgo_search.pyBug solved method
Environment information
pip install -r requirements.txtorpip install -e .):Extra information
No response