Open codermrrob opened 3 months ago
I am also facing the same issue that was reported above.
ERROR: Cannot install agency-swarm and fastapi because these package versions have conflicting dependencies.
The conflict is caused by: instructor 0.6.7 depends on typer<0.10.0 and >=0.9.0 fastapi-cli 0.0.4 depends on typer>=0.12.3 instructor 0.6.7 depends on typer<0.10.0 and >=0.9.0 fastapi-cli 0.0.3 depends on typer>=0.12.3 instructor 0.6.7 depends on typer<0.10.0 and >=0.9.0 fastapi-cli 0.0.2 depends on typer>=0.12.3
To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Please help find a way to resolve this
Also facing the same issue, not sure what to do about it.
I was able to move past the issue by changing requirements.txt to remove dependency on version 0.1.7 on agency-swarm. However can't speak to whether it actually works since I am having issues a bit further. (Run API step)
requirements.txt
agency-swarm gradio litellm[proxy]
VRSEN's docs do indicate it's probably not going to work.
To integrate open-source models with this framework, install the previous version of agency-swarm as most projects are not yet compatible with streaming and Assistants V2.
To integrate open-source models with this framework, install the previous version of agency-swarm as most projects are not yet compatible with streaming and Assistants V2.
Yes, this has been what has stopped me.
Ready to try. What could go wrong? I removed agency-swarm version.
From
agency-swarm==0.1.7
gradio
litellm[proxy]
To
agency-swarm
gradio
litellm[proxy]
No errors after that.
@josedandrade the only mention was that streaming would not work if you try and use it. Would like to hear if you have continued to have success with latest agency-swarm lib with open source?
I have managed to get this installed and working with groq/llama3-70b-8192 but could not get it to work with ollama locally.
To get around the conflict in the OpenSourceSwarm
directory I separately ran pip install instructor
and then after ran the pip install -r requirements.txt
. There were some errors which I just ignored. There is a thread in discord on the issues-and-discussions channel callled Conflict on install where I found this advice.
Then followed instructions in the video & the readme for this repo. Tried several times unsuccessfully to get it running with ollama/llama3-8b. I could see my prompts running from gradio to the model and the response from the model in my python terminal but it would fail trying to deliver the response to gradio,
When I configured to work with groq/llama3-70b-8192 it worked first time.
In a new python env, installing the following packages:
I receive this during dependency install with pip. Possibly my inexperience, but any pointers would be greatly appreciated.