Comments (1)
We have an extensive compression strategy to deal with token limitation, see:
https://github.com/Codium-ai/pr-agent/blob/main/PR_COMPRESSION.md
In practice, for small-to-medium PRs, our compression strategy works well with a limitation of 8K tokens.
For very large PRs (tenths of files), some files may be overlooked.
You can always switch to a model with a larger context, like 'gpt-3.5-turbo-16k-0613' or 'gpt-4-32k'.
from pr-agent.
Related Issues (20)
- Use public ecr registry instead of dockerhub - This will rate limit when you start scaling it HOT 9
- Several types of commands on pull request not available on BitBucket HOT 1
- Getting exception while running with docker on local for bitbuket HOT 3
- SyntaxError: f-string expression part cannot include a backslash (Python 3.9) HOT 2
- Not able to install python dependencies in lambda deployment
- Getting permission denied in lambda deployment HOT 1
- Getting "POST / HTTP/1.1" 405 Method Not Allowed with Github App
- VertexAI doesn't work HOT 2
- GPT-4 prediction failure HOT 2
- Add Amazon Bedrock support HOT 4
- Pr-agent /improve ERROR", "no": 40, Failed to parse AI prediction HOT 9
- Gitea/forgejo support HOT 1
- Timeout when the extension is trying to log in. HOT 1
- What is the meaning of pr-url? HOT 3
- Does the code get sent to the backend? HOT 2
- Gitlab Job HOT 3
- pr_agent crash HOT 3
- The ability to use pr-agent on Github action using azure open ai HOT 3
- Integration with other vectorDbs [enhancement] HOT 11
- Re-running review when PR is synchronized HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pr-agent.