Skip to content
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

UserWarning: parameter max_results is deprecated, use DDGS().text() warnings.warn("parameter max_results is deprecated, use DDGS().text()") #4376

Closed
jelleheijne1997 opened this issue May 24, 2023 · 1 comment · Fixed by #4383

Comments

@jelleheijne1997
Copy link

When AutoGPT is trying to google something it gives the following error and returns an empty list: UserWarning: parameter max_results is deprecated, use DDGS().text()
warnings.warn("parameter max_results is deprecated, use DDGS().text()")

@kinance
Copy link
Contributor

kinance commented May 24, 2023

The underlying duckduckgo_search package is deprecating the max_result, but it doesn't affect the function yet. There is a issue/question raised in their repo regarding this. Will need to wait for their suggestion. DDGS how to set max_result like ddg()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants