Skip to content

chore: update PraisonAI version to 2.2.24 across Dockerfiles and docu… #571

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

Merged
merged 1 commit into from
Jun 1, 2025

Conversation

MervinPraison
Copy link
Owner

…mentation

  • Updated the version of PraisonAI from 2.2.23 to 2.2.24 in all relevant Dockerfiles.
  • Adjusted version references in README.md and various documentation files.
  • Ensured consistency in package versioning for improved stability and performance.

…mentation

- Updated the version of PraisonAI from 2.2.23 to 2.2.24 in all relevant Dockerfiles.
- Adjusted version references in README.md and various documentation files.
- Ensured consistency in package versioning for improved stability and performance.
Copy link

netlify bot commented Jun 1, 2025

Deploy Preview for praisonai ready!

Name Link
🔨 Latest commit 80baf10
🔍 Latest deploy log https://app.netlify.com/projects/praisonai/deploys/683bd9030cbf92000843749c
😎 Deploy Preview https://deploy-preview-571--praisonai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

coderabbitai bot commented Jun 1, 2025

Warning

Rate limit exceeded

@MervinPraison has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 13 minutes and 54 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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.

📥 Commits

Reviewing files that changed from the base of the PR and between 690799e and 80baf10.

⛔ Files ignored due to path filters (2)
  • src/praisonai-agents/uv.lock is excluded by !**/*.lock
  • src/praisonai/uv.lock is excluded by !**/*.lock
📒 Files selected for processing (13)
  • docker/Dockerfile (1 hunks)
  • docker/Dockerfile.chat (1 hunks)
  • docker/Dockerfile.dev (1 hunks)
  • docker/Dockerfile.ui (1 hunks)
  • docker/README.md (2 hunks)
  • docs/api/praisonai/deploy.html (1 hunks)
  • docs/developers/local-development.mdx (1 hunks)
  • docs/ui/chat.mdx (1 hunks)
  • docs/ui/code.mdx (1 hunks)
  • src/praisonai-agents/pyproject.toml (1 hunks)
  • src/praisonai/praisonai.rb (1 hunks)
  • src/praisonai/praisonai/deploy.py (1 hunks)
  • src/praisonai/pyproject.toml (4 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings

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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need 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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 team, gemini-code-assist here to provide a summary of this pull request. This PR primarily focuses on updating version references for the praisonai and praisonaiagents packages across the repository. The main goal is to bump the praisonai version from 2.2.23 to 2.2.24 and the praisonaiagents version from 0.0.94 to 0.0.95 in various configuration files, Dockerfiles, documentation, and dependency lock files to ensure consistency and incorporate the latest changes from these packages.

Highlights

  • Version Updates: The core change involves updating the required versions of the praisonai package to 2.2.24 and the praisonaiagents package to 0.0.95.
  • Dockerfile Updates: All relevant Dockerfiles (Dockerfile, Dockerfile.chat, Dockerfile.dev, Dockerfile.ui) have been updated to install praisonai with a minimum version of 2.2.24.
  • Documentation Sync: Documentation files (docker/README.md, docs/api/praisonai/deploy.html, docs/developers/local-development.mdx, docs/ui/chat.mdx, docs/ui/code.mdx) have been updated to reflect the new 2.2.24 version in examples and package lists.
  • Dependency Management Files: The pyproject.toml and uv.lock files for both praisonai and praisonaiagents have been updated to reflect the new package versions and their dependencies/hashes.
  • Homebrew Formula: The Homebrew formula (src/praisonai/praisonai.rb) has been updated to point to the v2.2.24 tag and includes the new SHA256 hash.

Changelog

Click here to see the changelog
  • docker/Dockerfile
    • Updated praisonai version constraint from >=2.2.23 to >=2.2.24 (line 19).
  • docker/Dockerfile.chat
    • Updated praisonai version constraint from >=2.2.23 to >=2.2.24 (line 19).
  • docker/Dockerfile.dev
    • Updated praisonai version constraint from >=2.2.23 to >=2.2.24 (line 23).
  • docker/Dockerfile.ui
    • Updated praisonai version constraint from >=2.2.23 to >=2.2.24 (line 19).
  • docker/README.md
    • Updated PraisonAI version reference from >=2.2.23 to >=2.2.24 in the Package Versions section (line 124).
    • Updated PraisonAI version from ==2.2.23 to ==2.2.24 in the Version Pinning example (line 221).
  • docs/api/praisonai/deploy.html
    • Updated praisonai version from ==2.2.23 to ==2.2.24 in the embedded Dockerfile example (line 113).
  • docs/developers/local-development.mdx
    • Updated praisonai version from ==2.2.23 to ==2.2.24 in the Dockerfile example (line 30).
  • docs/ui/chat.mdx
    • Updated praisonai version from ==2.2.23 to ==2.2.24 in the Dockerfile example (line 158).
  • docs/ui/code.mdx
    • Updated praisonai version from ==2.2.23 to ==2.2.24 in the Dockerfile example (line 211).
  • src/praisonai-agents/pyproject.toml
    • Updated praisonaiagents version from 0.0.94 to 0.0.95 (line 7).
  • src/praisonai-agents/uv.lock
    • Updated praisonaiagents version from 0.0.94 to 0.0.95 and updated associated URL/hashes (line 2236).
  • src/praisonai/praisonai.rb
    • Updated Homebrew formula URL and SHA256 hash to reference v2.2.24 (lines 6-7).
  • src/praisonai/praisonai/deploy.py
    • Updated generated Dockerfile content to use praisonai==2.2.24 (line 59).
  • src/praisonai/pyproject.toml
    • Updated PraisonAI project version from 2.2.23 to 2.2.24 (line 3).
    • Updated praisonaiagents dependency constraint from >=0.0.94 to >=0.0.95 (line 15).
    • Updated PraisonAI poetry version from 2.2.23 to 2.2.24 (line 98).
    • Updated praisonaiagents poetry dependency constraint from >=0.0.94 to >=0.0.95 (line 116).
  • src/praisonai/uv.lock
    • Updated praisonai version from 2.2.23 to 2.2.24 (line 3934).
    • Updated praisonaiagents version from 0.0.94 to 0.0.95 (line 4076).
    • Updated praisonaiagents version from 0.0.94 to 0.0.95 and updated associated URL/hashes (line 4133).
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,
From point to point through time,
Docker builds anew,
Docs reflect what's true,
Code aligned, a perfect rhyme.

Footnotes

  1. 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.

@MervinPraison MervinPraison merged commit 63a6782 into main Jun 1, 2025
13 of 16 checks passed
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a 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 effectively updates the PraisonAI version to 2.2.24 and praisonaiagents to 0.0.95 across various Dockerfiles, documentation, and configuration files. The changes are largely consistent and address the core goal of this version bump.

I've identified a couple of areas for improvement: one related to the security and reproducibility of the Homebrew formula and another concerning documentation consistency in docker/README.md. Addressing these will enhance the quality and reliability of the codebase. Details are in the specific comments.

Summary of Findings

  • Homebrew Formula SHA256 Calculation: The praisonai.rb Homebrew formula dynamically calculates the SHA256 checksum at install time. This is not a best practice and can lead to security vulnerabilities if the upstream tarball changes for the same tag. It's recommended to hardcode the SHA256 sum.
  • Documentation Inconsistency for PraisonAI Agents Version: The docker/README.md file lists PraisonAI Agents: >=0.0.92, but the praisonaiagents package has been updated to 0.0.95 elsewhere in the codebase. This documentation should be updated for consistency.

Merge Readiness

The pull request makes necessary version updates across the project. However, there's a high-severity issue regarding the SHA256 calculation in the Homebrew formula and a medium-severity documentation inconsistency. I recommend addressing these issues before merging to ensure security, reproducibility, and accuracy. As a reviewer, I am not authorized to approve the pull request; please ensure these changes are reviewed and approved by the appropriate maintainers after the suggested modifications are made.

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
url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/v2.2.24.tar.gz"
sha256 `curl -sL https://github.com/MervinPraison/PraisonAI/archive/refs/tags/v2.2.24.tar.gz | shasum -a 256`.split.first
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Dynamically calculating the sha256 hash at install time using curl can introduce potential security and reproducibility issues. If the content at the tag URL were to change (e.g., if the tag v2.2.24 was force-pushed with different content), this formula would download the new content without a fixed checksum verification.

Homebrew best practices recommend hardcoding the sha256 sum for a release tarball. This ensures that users always get the intended, verified bits for a specific version.

Could you consider calculating the SHA256 sum of the v2.2.24.tar.gz release artifact once and hardcoding it here?

For example:

  1. Download the tarball: curl -sLO https://github.com/MervinPraison/PraisonAI/archive/refs/tags/v2.2.24.tar.gz
  2. Calculate its SHA256 sum: shasum -a 256 v2.2.24.tar.gz
  3. Replace this line with the hardcoded hash, e.g., sha256 "actual_calculated_hash_here".
    sha256 "PUT_CALCULATED_SHA256_HASH_HERE" # Please calculate and replace this placeholder

@@ -121,7 +121,7 @@ healthcheck:
## 📦 Package Versions

All Docker images use consistent, up-to-date versions:
- PraisonAI: `>=2.2.23`
- PraisonAI: `>=2.2.24`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Thanks for updating the PraisonAI version here!

It looks like the praisonaiagents package was updated to 0.0.95 in this PR (e.g., in src/praisonai-agents/pyproject.toml and as a dependency in src/praisonai/pyproject.toml).

For consistency with the PR's goal to ensure consistent package versioning, should the PraisonAI Agents version listed on the next line (line 125) in this README also be updated from >=0.0.92 to reflect the new version, perhaps to >=0.0.95?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant