You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I added a Tavily API key to use for web search. This reproduced the same error. As before, it does a bunch of research, calculates costs, ranks sources, etc., but in the end comes up with the same error.
Suggestion 2 - config_path removal and .env utilization:
This worked successfully, however, the result was very lacking and short (below 800 words, even though the default length is 2500). The culprit does seem to be either the config_path or one of the values still present above, and I feel that having a config is absolutely necessary to generate good results. Do you have any idea how to produce longer lengths without utilizing config or how to get it to work with config_path? This would also be useful for other stuff (citation style, if I wanted to change to another web search option ...).
When I try to use GPTR's deep research (PIP package, Version: 0.12.12; python 3.13), I get
File "..\gpt_researcher\skills\deep_research.py", line 17, in count_words return len(text.split())
This happens after already collecting, verifying and ranking top sources.
This is my config.json:
My code:
I also tried a yaml, but that didn't work, despite https://docs.gptr.dev/docs/gpt-researcher/gptr/deep_research mentioning a yaml file.
BTW, normal research works fine.
The text was updated successfully, but these errors were encountered: