Closed FaranIdo closed 6 months ago
So adding support for claude3 is equal to upgrading litellm and solving the dependencies?
This PR will enable claude3: https://github.com/Codium-ai/pr-agent/pull/746
Hi @mrT23 , thanks for the quick response. I tested your branch, and it seems it tries to use the Anthropic direct API. Actually, I wanted to use it via Amazon Bedrock.
Once I adds anthropic.claude-3-sonnet-20240229
to init.py file of the algo folder, I got the following exception:
i don't have access to amazon bedrock, so i cant debug it
read https://github.com/Codium-ai/pr-agent/blob/main/Usage.md#amazon-bedrock and try to understand what's missing, probably a line or two somewhere
I will try figuring it out.
By the way, currently, using in the config anthropic.claude-v2
leads to bedrock usage, while claude-2
uses directly the API of Anthropic, which is kind of confusing.
You can think about a more effortless user experience for choosing the correct model via Bedrock.
This is a clear case where the community should contribute (a.k.a you) all the best
Add support for Claude3 model via Amazon Bedrock.
LiteLLM library already supports it https://github.com/BerriAI/litellm/releases/tag/v1.29.1.
I tried to add it by myself, but the current PR agent repo dependencies on old version of LiteLLM, and it wasn't trivial to update it due to some conflicts with openai library.