This commit is contained in:
mrT23
2024-09-16 09:21:52 +03:00
parent 16763d81b4
commit da398ce56f
3 changed files with 21 additions and 9 deletions

View File

@ -1,3 +1,8 @@
## TL;DR
PR-Agent uses an **asymmetric and dynamic context strategy** to improve AI analysis of code changes in pull requests.
It provides more context before changes than after, and dynamically adjusts the context based on code structure (e.g., enclosing functions or classes).
This approach balances providing sufficient context for accurate analysis, while avoiding needle-in-the-haystack information overload that could degrade AI performance or exceed token limits.
## Introduction