rotemweiss57 / gpt-newspaper

GPT based autonomous agent designed to create personalized newspapers tailored to user preferences.
https://tavily.com
MIT License
1.19k stars 166 forks source link

Fixed bug on langgraph_agent and added a requirement. #25

Open gurhoter opened 3 months ago

gurhoter commented 3 months ago

fixed this bug: Type error: unexpected keyword argument 'start_key' File "C:\Users\Arnd\Desktop 3\gpt-newspaper\gpt-newspaper\backend\langgraph_agent.py", line 39, in run workflow.add_conditional_edges(start_key='critique', TypeError: Graph.add_conditional_edges() got an unexpected keyword argument 'start_key'

by modifying the langggraph agent. also added langchain_community to requirements.txt.

gurhoter commented 2 months ago

Update: By adding a translation in search.py, this project is now compatible with all languages.