Skip to content

DuckDuckGo Tool - Enable use of news/books/images/videos search #3135

@sharmuz

Description

@sharmuz

Description

Hello! I'm a big fan of pydantic :-)

I'm wondering whether for common_tools.duckduckgo.duckduckgo_search_tool we could get support for using the news/books/images/videos search options that ddgs.DDGS provides. Perhaps an optional arg, with text being the default?

(Side note: but it may be helpful for folks behind a corporate proxy to know that ddgs uses primp as its HTTP client, which respects the env var PRIMP_CA_BUNDLE. However, when using DuckDuckGo as the search engine for text it uses httpx and seems hard-coded to use certifi's Mozilla certs, so funnily DDG will be the only search engine that won't work.)

Cheers,
Muz

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions