chore: update PraisonAI version to 2.2.23 across Dockerfiles and docu…#564
chore: update PraisonAI version to 2.2.23 across Dockerfiles and docu…#564MervinPraison merged 1 commit intomainfrom
Conversation
…mentation - Updated the PraisonAI version from 2.2.22 to 2.2.23 in all relevant Dockerfiles. - Adjusted version references in README.md, local-development.mdx, and other documentation files. - Ensured consistency in versioning for deployment scripts and project files. This change maintains compatibility with the latest features and fixes in PraisonAI.
|
Warning Rate limit exceeded@MervinPraison has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 4 minutes and 31 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (13)
✨ 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 (
|
✅ Deploy Preview for praisonai ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
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!
Summary of Changes
Hello! Gemini here, providing a summary of this pull request to help everyone get up to speed quickly.
This PR primarily focuses on updating the version of the PraisonAI package and its related praisonaiagents dependency across the project. The changes involve updating version specifications in various Dockerfiles, documentation files (including READMEs and deployment guides), and the project's dependency management files (pyproject.toml, uv.lock, and a Homebrew formula). The goal is to ensure the project is using the latest compatible versions of these core libraries, as stated in the PR description, to benefit from recent features and fixes.
Highlights
- PraisonAI Version Update: The core change is the update of the
PraisonAIpackage version requirement from>=2.2.22or==2.2.22to>=2.2.23or==2.2.23across multiple files. - PraisonAI Agents Version Update: The
praisonaiagentsdependency is also updated from version0.0.93(or>=0.0.91) to0.0.94(or>=0.0.94) in the project's dependency files. - Configuration and Documentation Sync: Version references have been synchronized in Dockerfiles, READMEs, documentation pages (MDX and HTML), and dependency lock files to reflect the new package versions.
Changelog
Click here to see the changelog
- docker/Dockerfile
- Updated
praisonaiversion requirement from>=2.2.22to>=2.2.23.
- Updated
- docker/Dockerfile.chat
- Updated
praisonaiversion requirement from>=2.2.22to>=2.2.23.
- Updated
- docker/Dockerfile.dev
- Updated
praisonaiversion requirement from>=2.2.22to>=2.2.23.
- Updated
- docker/Dockerfile.ui
- Updated
praisonaiversion requirement from>=2.2.22to>=2.2.23.
- Updated
- docker/README.md
- Updated
PraisonAIversion reference in the 'Package Versions' section from>=2.2.22to>=2.2.23. - Updated
PraisonAIversion in the 'Version Pinning' example from==2.2.22to==2.2.23.
- Updated
- docs/api/praisonai/deploy.html
- Updated
praisonaiversion in the Dockerfile snippet within the deployment documentation from==2.2.22to==2.2.23.
- Updated
- docs/developers/local-development.mdx
- Updated
praisonaiversion in the Dockerfile snippet for local development from==2.2.22to==2.2.23.
- Updated
- docs/ui/chat.mdx
- Updated
praisonaiversion in the Dockerfile snippet for UI chat development from==2.2.22to==2.2.23.
- Updated
- docs/ui/code.mdx
- Updated
praisonaiversion in the Dockerfile snippet for UI code development from==2.2.22to==2.2.23.
- Updated
- src/praisonai-agents/pyproject.toml
- Updated project version from
0.0.93to0.0.94.
- Updated project version from
- src/praisonai-agents/uv.lock
- Updated locked version of
praisonaiagentsfrom0.0.93to0.0.94. - Updated sdist and wheel URLs and hashes for
praisonaiagentsversion0.0.94.
- Updated locked version of
- src/praisonai/praisonai.rb
- Updated the Homebrew formula URL and sha256 hash to reference
v2.2.23.
- Updated the Homebrew formula URL and sha256 hash to reference
- src/praisonai/praisonai/deploy.py
- Updated the hardcoded
praisonaiversion in thecreate_dockerfilemethod from==2.2.22to==2.2.23.
- Updated the hardcoded
- src/praisonai/pyproject.toml
- Updated project version from
2.2.22to2.2.23(both[project]and[tool.poetry]sections). - Updated
praisonaiagentsdependency requirement from>=0.0.91to>=0.0.94.
- Updated project version from
- src/praisonai/uv.lock
- Updated locked version of
praisonaifrom2.2.22to2.2.23. - Updated locked version of
praisonaiagentsfrom0.0.91to0.0.94. - Updated sdist and wheel URLs and hashes for
praisonaiagentsversion0.0.94.
- Updated locked version of
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.
Versions tick and climb,
Updating through space and time,
Docs must match the code.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
There was a problem hiding this comment.
Code Review
This pull request successfully updates the PraisonAI and praisonaiagents versions across various Dockerfiles, documentation files, and project configuration files. The changes are consistent with the stated objective of maintaining compatibility with the latest versions. The updates in the Dockerfiles, README, and documentation files are straightforward version bumps.
Summary of Findings
- Homebrew Formula SHA Calculation: The Homebrew formula calculates the SHA256 hash using a shell command (
curl ... | shasum -a 256) at install time. It is more standard and robust practice in Homebrew to pre-calculate the hash and hardcode it in the formula. - Version Updates: Consistent updates to PraisonAI and praisonaiagents versions across Dockerfiles, documentation, and project files. (No comments added for these as they are low severity and correctly implemented).
Merge Readiness
The pull request addresses the stated goal of updating version numbers. The changes are mostly straightforward configuration updates. There is one medium severity issue identified regarding the Homebrew formula's SHA calculation method, which should ideally be addressed for better robustness and adherence to Homebrew best practices. I recommend addressing this point before merging. As a reviewer, I am unable to approve this pull request; please have another reviewer approve it after the suggested change is made.
| url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/v2.2.22.tar.gz" | ||
| sha256 `curl -sL https://github.com/MervinPraison/PraisonAI/archive/refs/tags/v2.2.22.tar.gz | shasum -a 256`.split.first | ||
| url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/v2.2.23.tar.gz" | ||
| sha256 `curl -sL https://github.com/MervinPraison/PraisonAI/archive/refs/tags/v2.2.23.tar.gz | shasum -a 256`.split.first |
There was a problem hiding this comment.
For Homebrew formulas, it's standard practice to calculate the SHA256 hash locally and hardcode it directly in the formula, rather than using a shell command to calculate it at install time. This makes the formula more robust and less reliant on external command execution during the installation process.
sha256 "cf45d35ced31ccbb32b2f7dbd61768f77cba231dd7e62adc7ce5740d77103d24"chore: update PraisonAI version to 2.2.23 across Dockerfiles and docu…
…mentation
This change maintains compatibility with the latest features and fixes in PraisonAI.