v0.1.2 - PR Content Retrieval Enhancement
What's New
- Added
get_pr_content
method to Repository
class
- Implemented singleton pattern for efficient PR data caching
- Enhanced support for LLM-assisted PR analysis
Features
- Comprehensive PR data retrieval including metadata, file changes, and comments
- Automatic caching to reduce API calls and improve performance
- Threaded comment and review retrieval
Usage
from llama_github import GithubRAG
github_rag=GithubRAG(github_access_token=github_access_token)
repo = github_rag.RepositoryPool.get_repository("JetXu-LLM/llama-github")
pr_content = repo.get_pr_content(number=15)