Cached Google/DDG-Search to reduce rate limit penalty #2338#2460
Cached Google/DDG-Search to reduce rate limit penalty #2338#2460janpdevops wants to merge 11 commits intoagno-agi:mainfrom
Conversation
|
Love the contribution. We think it should be done a little differently, i'd rather have an in-memory cache managed by a decorator, which we can easily add to more functions. |
|
@dirkbrnd You could use Duck Duck Go or whatever you like instead of google. |
|
Hi, I changed the cache to a wrapper of another search tool. It worked with the Duck Duck Go and Google. |
|
Hi @dirkbrnd, |
|
Hi @janpdevops |
Cached Google/DDG-Search to reduce rate limit penalty Issue #2338
See #2338
Fixes # (2338)
Type of change
Please check the options that are relevant:
Checklist
./scripts/format.shand./scripts/validate.shto ensure code is formatted and linted. No, please add the .bat files again.Additional Notes
I am still new to python, so I am open to suggestions. I am willing to help the project along.