john-adeojo / graph_websearch_agent

Websearch agent built on the LangGraph framework
MIT License
131 stars 58 forks source link

No such file or directory: 'G:/My Drive/Data-Centric Solutions/07. Digital #8

Closed MyraBaba closed 2 weeks ago

MyraBaba commented 2 weeks ago

I am trying the project in my mac

run_linux than chainlit appears. After netering openai and serper API key click confirm and below error happened

04:30 PM

[Errno 2] No such file or directory: 'G:/My Drive/Data-Centric Solutions/07. Digital Content/LangGraph/code/graph_websearch_agent/config/config.yaml'

MyraBaba commented 2 weeks ago

After I changed config_path in chat.py it gives below error.

ckages/chainlit/utils.py", line 40, in wrapper return await user_function(**params_values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/tulpar/Projects/ODS/graph_websearch_agent/app/chat.py", line 174, in update_settings update_config( File "/Users/tulpar/Projects/ODS/graph_websearch_agent/app/chat.py", line 15, in update_config config['SERPER_API_KEY'] = serper_api_key


TypeError: 'str' object does not support item assignment
MyraBaba commented 2 weeks ago

solved to replace config file with original