-
-
Notifications
You must be signed in to change notification settings - Fork 743
Version 2.1 #441
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
Version 2.1 #441
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThe changes update the version of the Changes
Possibly Related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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.
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
This pull request updates the version of the PraisonAI package to 2.1.0. The changes include updating the praisonai dependency in the Dockerfile, docs/api/praisonai/deploy.html, praisonai/deploy.py, pyproject.toml, and uv.lock files. Additionally, the praisonaiagents dependency has been updated to version 0.0.70, and a new dependency mcp has been added.
Highlights
- Version Update: The core change is updating the PraisonAI package version from 2.0.81 to 2.1.0 across multiple files.
- Dependency Update: The praisonaiagents dependency is updated from version 0.0.67 to 0.0.70.
- New Dependency: A new dependency,
mcp, is added to the project.
Changelog
Click here to see the changelog
- docker/Dockerfile
- Updated
praisonaidependency version from 2.0.81 to 2.1.0 in the pip install command.
- Updated
- docs/api/praisonai/deploy.html
- Updated
praisonaidependency version from 2.0.81 to 2.1.0 in the Dockerfile example.
- Updated
- praisonai.rb
- Updated the Praisonai formula version from 2.0.81 to 2.1.0 and updated the URL to point to the new version tag.
- praisonai/deploy.py
- Updated
praisonaidependency version from 2.0.81 to 2.1.0 in the Dockerfile creation function.
- Updated
- pyproject.toml
- Updated the project version from 2.0.81 to 2.1.0 in multiple sections.
- Updated
praisonaiagentsdependency from version 0.0.67 to 0.0.70.
- uv.lock
- Added
mcpas a new dependency with version 1.6.0. - Updated
praisonaiversion from 2.0.81 to 2.1.0. - Updated
praisonaiagentsversion from 0.0.67 to 0.0.70. - Added
mcpas a dependency forpraisonaiandpraisonaiagents. - Added
pydantic-settingsandsse-starletteas new dependencies.
- Added
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.
A version ascends,
New features it now extends,
Agents improve now.
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. ↩
✅ Deploy Preview for praisonai ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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
The pull request updates the PraisonAI framework to version 2.1.0, including changes to the Dockerfile, documentation, Ruby formula, Python deployment script, and project configuration files. The updates appear to be straightforward version bumps and dependency updates.
Summary of Findings
- Dependency Updates: The pull request updates the praisonai dependency to version 2.1.0 in multiple files, including the Dockerfile, documentation, and Python deployment script. It also updates the praisonaiagents dependency in pyproject.toml and uv.lock.
- uv.lock changes: The pull request introduces changes to the uv.lock file, including the addition of the 'mcp' dependency and updates to the 'praisonaiagents' dependency. These changes may have implications for dependency resolution and compatibility.
- Missing comments: The code lacks comments to explain the purpose and functionality of the changes, particularly in the uv.lock file. Adding comments would improve code readability and maintainability.
Merge Readiness
The pull request primarily involves version updates and dependency changes. While the changes appear to be straightforward, it's important to ensure that the updated dependencies are compatible with the existing codebase and that the changes in uv.lock do not introduce any conflicts. I recommend that the pull request not be merged until the medium severity issues are addressed, and that others review and approve this code before merging. I am unable to approve the pull request.
| WORKDIR /app | ||
| COPY . . | ||
| RUN pip install flask praisonai==2.0.81 gunicorn markdown | ||
| RUN pip install flask praisonai==2.1.0 gunicorn markdown |
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.
| file.write("WORKDIR /app\n") | ||
| file.write("COPY . .\n") | ||
| file.write("RUN pip install flask praisonai==2.0.81 gunicorn markdown\n") | ||
| file.write("RUN pip install flask praisonai==2.1.0 gunicorn markdown\n") |
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.
Consider adding a comment here to explain why the praisonai version is being updated.
| file.write("RUN pip install flask praisonai==2.1.0 gunicorn markdown\n") | |
| file.write("RUN pip install flask praisonai==2.1.0 gunicorn markdown\n") # Update praisonai to version 2.1.0 |
| homepage "https://github.com/MervinPraison/PraisonAI" | ||
| url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/2.0.81.tar.gz" | ||
| url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/2.1.0.tar.gz" | ||
| sha256 "1828fb9227d10f991522c3f24f061943a254b667196b40b1a3e4a54a8d30ce32" # Replace with actual SHA256 checksum |
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.
| file.write("WORKDIR /app\n") | ||
| file.write("COPY . .\n") | ||
| file.write("RUN pip install flask praisonai==2.0.81 gunicorn markdown\n") | ||
| file.write("RUN pip install flask praisonai==2.1.0 gunicorn markdown\n") |
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.
| [project] | ||
| name = "PraisonAI" | ||
| version = "2.0.81" | ||
| version = "2.1.0" |
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.
| name = "praisonai" | ||
| version = "2.0.81" | ||
| version = "2.1.0" | ||
| source = { editable = "." } | ||
| dependencies = [ | ||
| { name = "instructor" }, | ||
| { name = "markdown" }, | ||
| { name = "mcp" }, | ||
| { name = "praisonaiagents" }, | ||
| { name = "pyparsing" }, | ||
| { name = "python-dotenv" }, |
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.
It would be helpful to add a comment explaining why the 'mcp' dependency is being added.
name = "praisonai"
version = "2.1.0"
source = { editable = "." }
dependencies = [
{ name = "instructor" },
{ name = "markdown" },
{ name = "mcp" }, # Adding mcp dependency
{ name = "praisonaiagents" },
{ name = "pyparsing" },
{ name = "python-dotenv" },
| { name = "praisonai-tools", marker = "extra == 'autogen'", specifier = ">=0.0.7" }, | ||
| { name = "praisonai-tools", marker = "extra == 'crewai'", specifier = ">=0.0.7" }, | ||
| { name = "praisonaiagents", specifier = ">=0.0.67" }, | ||
| { name = "praisonaiagents", specifier = ">=0.0.70" }, |
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.
| version = "0.0.70" | ||
| source = { registry = "https://pypi.org/simple" } | ||
| dependencies = [ | ||
| { name = "mcp" }, | ||
| { name = "openai" }, | ||
| { name = "pydantic" }, | ||
| { name = "rich" }, | ||
| ] |
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.
| name = "pydantic-settings" | ||
| version = "2.8.1" | ||
| source = { registry = "https://pypi.org/simple" } | ||
| dependencies = [ | ||
| { name = "pydantic" }, | ||
| { name = "python-dotenv" }, | ||
| ] | ||
| sdist = { url = "https://files.pythonhosted.org/packages/88/82/c79424d7d8c29b994fb01d277da57b0a9b09cc03c3ff875f9bd8a86b2145/pydantic_settings-2.8.1.tar.gz", hash = "sha256:d5c663dfbe9db9d5e1c646b2e161da12f0d734d422ee56f567d0ea2cee4e8585", size = 83550 } | ||
| wheels = [ | ||
| { url = "https://files.pythonhosted.org/packages/0b/53/a64f03044927dc47aafe029c42a5b7aabc38dfb813475e0e1bf71c4a59d0/pydantic_settings-2.8.1-py3-none-any.whl", hash = "sha256:81942d5ac3d905f7f3ee1a70df5dfb62d5569c12f51a5a647defc1c3d9ee2e9c", size = 30839 }, | ||
| ] |
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.
It would be helpful to add a comment explaining why the 'pydantic-settings' dependency is being added.
[[package]]
name = "pydantic-settings"
version = "2.8.1"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pydantic" },
{ name = "python-dotenv" },
] # Adding pydantic-settings dependency
sdist = { url = "https://files.pythonhosted.org/packages/88/82/c79424d7d8c29b994fb01d277da57b0a9b09cc03c3ff875f9bd8a86b2145/pydantic_settings-2.8.1.tar.gz", hash = "sha256:d5c663dfbe9db9d5e1c646b2e161da12f0d734d422ee56f567d0ea2cee4e8585", size = 83550 }
wheels = [
{ url = "https://files.pythonhosted.org/packages/0b/53/a64f03044927dc47aafe029c42a5b7aabc38dfb813475e0e1bf71c4a59d0/pydantic_settings-2.8.1-py3-none-any.whl", hash = "sha256:81942d5ac3d905f7f3ee1a70df5dfb62d5569c12f51a5a647defc1c3d9ee2e9c", size = 30839 },
]
| name = "sse-starlette" | ||
| version = "2.2.1" | ||
| source = { registry = "https://pypi.org/simple" } | ||
| dependencies = [ | ||
| { name = "anyio" }, | ||
| { name = "starlette" }, | ||
| ] | ||
| sdist = { url = "https://files.pythonhosted.org/packages/71/a4/80d2a11af59fe75b48230846989e93979c892d3a20016b42bb44edb9e398/sse_starlette-2.2.1.tar.gz", hash = "sha256:54470d5f19274aeed6b2d473430b08b4b379ea851d953b11d7f1c4a2c118b419", size = 17376 } | ||
| wheels = [ | ||
| { url = "https://files.pythonhosted.org/packages/d9/e0/5b8bd393f27f4a62461c5cf2479c75a2cc2ffa330976f9f00f5f6e4f50eb/sse_starlette-2.2.1-py3-none-any.whl", hash = "sha256:6410a3d3ba0c89e7675d4c273a301d64649c03a5ef1ca101f10b47f895fd0e99", size = 10120 }, | ||
| ] |
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.
It would be helpful to add a comment explaining why the 'sse-starlette' dependency is being added.
[[package]]
name = "sse-starlette"
version = "2.2.1"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "anyio" },
{ name = "starlette" },
] # Adding sse-starlette dependency
sdist = { url = "https://files.pythonhosted.org/packages/71/a4/80d2a11af59fe75b48230846989e93979c892d3a20016b42bb44edb9e398/sse_starlette-2.2.1.tar.gz", hash = "sha256:54470d5f19274aeed6b2d473430b08b4b379ea851d953b11d7f1c4a2c118b419", size = 17376 }
wheels = [
{ url = "https://files.pythonhosted.org/packages/d9/e0/5b8bd393f27f4a62461c5cf2479c75a2cc2ffa330976f9f00f5f6e4f50eb/sse_starlette-2.2.1-py3-none-any.whl", hash = "sha256:6410a3d3ba0c89e7675d4c273a301d64649c03a5ef1ca101f10b47f895fd0e99", size = 10120 },
]
Summary by CodeRabbit
Chores
Documentation