I think it is a problem from duckduckgo api change.
I encountered same problems while using duckduckgosearch tool in nodejs. It seems like they just changed the api format.
The regex from duckduckgo sdk is no longer working
const SEARCH_REGEX = /DDG\.pageLayout\.load\(\s*'d'\s*,\s*(\[[\s\S]+?\])\s*,[\s\S]+?\)\s*;?\s*DDG\.duckbar\.load/
I am trying to patch this but still not find a way to resolve, but this is the problem.