Skip to content

Commit

Permalink
fix(agent, forge): Conform web_search.py to duckduckgo_search v5 (Sig…
Browse files Browse the repository at this point in the history
…nificant-Gravitas#7046)

Update web_search command for both autogpt and forge to adjust for breaking change in v5 of duckduckgo_search,
update duckduckgo_search to ^5.0.0

---------

Co-authored-by: Nicholas Tindle <[email protected]>
  • Loading branch information
kcze and ntindle authored Mar 25, 2024
1 parent 12640f7 commit fb8ed0b
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 39 deletions.
1 change: 0 additions & 1 deletion autogpts/autogpt/autogpt/commands/web_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import json
import time
from itertools import islice

from duckduckgo_search import DDGS

Expand Down
41 changes: 22 additions & 19 deletions autogpts/autogpt/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion autogpts/forge/forge/actions/web/web_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import json
import time
from itertools import islice

from duckduckgo_search import DDGS

Expand Down
39 changes: 21 additions & 18 deletions autogpts/forge/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fb8ed0b

Please sign in to comment.