Closed s1moe2 closed 3 months ago
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.
โฑ๏ธ Estimated effort to review [1-5] | 1 |
๐ Score | 95 |
๐งช Relevant tests | No |
๐ Security concerns | No |
๐ Multiple PR themes | No |
โก Key issues to review | None |
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.
Category | Suggestion | Score |
Maintainability |
Sort the keys in alphabetical order for better readability and maintainability___ **Consider sorting the keys in alphabetical order to maintain consistency and improvereadability. This will make it easier to locate specific entries in the future.** [pr_agent/algo/__init__.py [32-38]](https://github.com/Codium-ai/pr-agent/pull/990/files#diff-5923c546f24ec7308a0e43fc84bb6fe40de7bfe2ac6ee842da9578e5dc2c692bR32-R38) ```diff 'anthropic.claude-v1': 100000, 'anthropic.claude-v2': 100000, +'anthropic/claude-3-5-sonnet-20240620': 100000, 'anthropic/claude-3-opus-20240229': 100000, -'anthropic/claude-3-5-sonnet-20240620': 100000, 'bedrock/anthropic.claude-instant-v1': 100000, 'bedrock/anthropic.claude-v2': 100000, 'bedrock/anthropic.claude-v2:1': 100000, ``` - [ ] **Apply this suggestion** Suggestion importance[1-10]: 7Why: Sorting the keys alphabetically would indeed improve readability and maintainability, making it easier to locate and manage entries. The suggestion is relevant and correctly identifies the new code added in the PR. | 7 |
Looks good. i was able to generate: https://github.com/Codium-ai/pr-agent/pull/966#issuecomment-2165191329 with the new sonnet model
User description
Adding Claude 3.5 Sonnet support. Not sure if this all it takes but I tried to check previous similar changes. Glad to add whatever else is necessary if I'm able and someone points me to it.
Tested locally with Docker:
PR Type
Enhancement
Description
anthropic/claude-3-5-sonnet-20240620
in the token limits configuration.Changes walkthrough ๐
__init__.py
Add support for Claude 3.5 Sonnet in token limits
pr_agent/algo/__init__.py
anthropic/claude-3-5-sonnet-20240620
with a tokenlimit of 100000.