-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PR help message functionality and update dependencies #1241
Conversation
- Implement PRHelpMessage class to provide AI-powered assistance for pull requests. - Add methods for similarity search using local, S3, and Pinecone databases. - Update `requirements.txt` to include new dependencies for langchain and chromadb. - Modify `configuration.toml` to include `force_local_db` setting for PR help. - Update `aiohttp` and `openai` package versions.
/help "how to change the code suggestion to be commitable ?" |
Question:how to change the code suggestion to be commitable ? Answer:To make code suggestions commitable, you can use the
For automatic runs, you can set this in the configuration file under the
This will present the suggestions as commitable code comments instead of a single table comment. Relevant Sources: |
/help "how to use pr-agent with self hosted llm" |
Question:how to use pr-agent with self hosted llm Answer:To use PR-Agent with a self-hosted LLM, you need to self-host PR-Agent itself. Here's how to do it:
When self-hosting PR-Agent, you use your own API keys, which means the interaction with the LLM provider is directly between you and them. PR-Agent doesn't send your code data to its servers, ensuring better privacy for your code. For detailed installation instructions, refer to the PR-Agent documentation for your specific deployment method. Relevant Sources: |
/improve |
/review |
PR Code Suggestions ✨
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
/analyze |
PR Analysis 🔬
💡 Usage guide:Using static code analysis capabilities, the The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR:
Language that are currently supported: Python, Java, C++, JavaScript, TypeScript, C#. |
User description
requirements.txt
to include new dependencies for langchain and chromadb.configuration.toml
to includeforce_local_db
setting for PR help.aiohttp
andopenai
package versions.PR Type
Enhancement
Description
Changes walkthrough 📝
pr_help_message.py
Implement AI-powered PR help functionality
pr_agent/tools/pr_help_message.py
requests
databases
configuration.toml
Add force_local_db configuration option
pr_agent/settings/configuration.toml
requirements.txt
Update dependencies and add new packages
requirements.txt