-
-
Notifications
You must be signed in to change notification settings - Fork 744
Update PraisonAI and dependencies to version 2.2.32 #642
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
Conversation
- Updated PraisonAI version from 2.2.31 to 2.2.32 across multiple Dockerfiles and relevant files. - Adjusted dependency versions in pyproject.toml and other files for consistency. - Enhanced README documentation to reflect the updated version. This change integrates the latest features and improvements from PraisonAI while ensuring compatibility with existing code.
|
Caution Review failedThe pull request is closed. WalkthroughThis update increments the minimum required version of the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Dockerfile
participant pip
participant PraisonAI Package Index
User->>Dockerfile: Build Docker image
Dockerfile->>pip: Install praisonai==2.2.32
pip->>PraisonAI Package Index: Fetch praisonai 2.2.32
PraisonAI Package Index-->>pip: Return package
pip-->>Dockerfile: Install complete
Dockerfile-->>User: Image with praisonai 2.2.32 ready
Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (9)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary of Changes
Hello @MervinPraison, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request focuses on upgrading the core PraisonAI package and its associated praisonaiagents dependency to their latest versions (2.2.32 and 0.0.105 respectively). The changes involve updating version specifications in dependency management files, Docker build configurations, documentation, and a deployment script to ensure the project utilizes the most recent features and improvements from these libraries.
Highlights
- PraisonAI Version Update: Updated the main PraisonAI package version from 2.2.31 to 2.2.32.
- PraisonAI Agents Version Update: Updated the
praisonaiagentsdependency version from 0.0.104 to 0.0.105. - Dependency Management Updates: Applied version updates across
pyproject.tomlanduv.lockfiles for both PraisonAI and praisonaiagents. - Dockerfile Updates: Updated the required PraisonAI version in all relevant Dockerfiles (
Dockerfile,Dockerfile.chat,Dockerfile.dev,Dockerfile.ui). - Documentation and Script Updates: Reflected the new PraisonAI version in the
docker/README.mdand the Homebrew formula (src/praisonai/praisonai.rb), and updated the hardcoded version in the deploy script (src/praisonai/praisonai/deploy.py).
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configureGemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request updates PraisonAI to version 2.2.32 and its dependency praisonaiagents to 0.0.105. The version changes are applied across various Dockerfiles, Python package configuration files (pyproject.toml, uv.lock), a Homebrew formula, and documentation.
Most updates are consistent and correct. However, I've identified a couple of areas for improvement:
- In
docker/README.md, the examplepip installcommand for version pinning (line 221) still refers to an older version ofpraisonaiagents. This should be updated to0.0.105. - The Homebrew formula (
src/praisonai/praisonai.rb, line 7) dynamically calculates thesha256checksum. Standard Homebrew practice is to use a static, pre-calculated checksum for the tarball.
Additionally, please note that the docker/README.md file (on line 125, which is not part of this diff) lists PraisonAI Agents: >=0.0.92. This should also be updated to >=0.0.105 to maintain consistency with the actual dependency versions used in the project.
My review references Homebrew's best practices for formula creation, specifically regarding the use of static SHA256 checksums. No custom style guide was provided for other file types, so feedback is based on general correctness and consistency.
| To use specific versions, update the Dockerfile: | ||
| ```dockerfile | ||
| RUN pip install "praisonai==2.2.31" "praisonaiagents==0.0.92" | ||
| RUN pip install "praisonai==2.2.32" "praisonaiagents==0.0.92" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example pip install command for version pinning incorrectly specifies an outdated version for praisonaiagents (0.0.92). This should be updated to 0.0.105 to align with the dependency bumps in this PR and ensure users get a consistent set of versions.
| RUN pip install "praisonai==2.2.32" "praisonaiagents==0.0.92" | |
| RUN pip install "praisonai==2.2.32" "praisonaiagents==0.0.105" |
| url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/v2.2.31.tar.gz" | ||
| sha256 `curl -sL https://github.com/MervinPraison/PraisonAI/archive/refs/tags/v2.2.31.tar.gz | shasum -a 256`.split.first | ||
| url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/v2.2.32.tar.gz" | ||
| sha256 `curl -sL https://github.com/MervinPraison/PraisonAI/archive/refs/tags/v2.2.32.tar.gz | shasum -a 256`.split.first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sha256 checksum for the Homebrew formula is currently generated dynamically using command substitution. For reliability and standard Homebrew practice, this should be a static SHA256 hash of the specified tarball.1
To update this:
- Download the
v2.2.32.tar.gzfile from the URL on line 6. - Calculate its SHA256 checksum (e.g., using
shasum -a 256 v2.2.32.tar.gzon macOS/Linux). - Replace the current line with the static hash, ensuring it's enclosed in quotes.
sha256 "YOUR_CALCULATED_SHA256_HASH_FOR_V2.2.32_TARBALL_HERE"Style Guide References
Footnotes
-
Homebrew convention, as outlined in the Formula Cookbook, requires a static
sha256checksum for downloaded resources. This ensures the integrity and reproducibility of the build, as Homebrew verifies the download against this pre-defined hash. ↩
User description
This change integrates the latest features and improvements from PraisonAI while ensuring compatibility with existing code.
PR Type
Enhancement
Description
• Updated PraisonAI version from 2.2.31 to 2.2.32
• Bumped praisonaiagents dependency from 0.0.104 to 0.0.105
• Updated Docker configurations and Homebrew formula
• Synchronized version references across documentation
Changes walkthrough 📝
2 files
Update Docker pip install versionUpdate Homebrew formula version6 files
Update PraisonAI version requirementUpdate PraisonAI version requirementUpdate PraisonAI version requirementUpdate PraisonAI version requirementBump praisonaiagents version to 0.0.105Update PraisonAI and dependency versions1 files
Update version references in documentationSummary by CodeRabbit