Open emilmirzayev opened 3 months ago
@ruzicka02 i think it happened with the recent couple changes, maybe you face this one too.
Hey @emilmirzayev is this still happening with latest updates? Has this occurred on several research queries?
Hi @assafelovic , I will try with updated library and report here.
Welcome @emilmirzayev
I had a similar issue yesterday & found that it was fixed by leveraging absolute paths.
Have a look at the main.py edit in this commit that was merged into master yesterday.
Perhaps there's a key there for your issue as well.
P.S. The path of least resistance that we've found to work best for users is to run via Docker:
Running via Docker with that flow will enable you to trigger multi_agents (with local docs as a knowledge source) via localhost:3000 - should be a bit smoother & more intuitive.
Hope it helps.
May the force be with you
Hi. I have previously faced several issues with multi_agent approach. #684 has solved one of them. But now there is another issue when using local docs as knowledge source and not following guidelines. It creates the folder based on the task but
publisher_agent
throws this error when trying to save the report:So, I said maybe I can solve it by explicitly creating the folder (although I thought it was already there as i could see it in outputs folder). Came up with this in
publisher.py
:However, it still gives the same error. it does output the text, but the error appears to be when publishing to a file.
My
task.json
:I also tried to solve it by editing
file_formats.py
inutils
like this, but error persisted.I did my best based on my limited understanding. If someone has some ideas, i welcome them.