Skip to content
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

Bump version to 2.0.80 and update praisonaiagents dependency #399

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

MervinPraison
Copy link
Owner

  • Updated version to 2.0.80 across multiple files including praisonai.rb, pyproject.toml, uv.lock, Dockerfile, and docs
  • Upgraded praisonaiagents dependency from 0.0.64 to 0.0.65
  • Enhanced agent start methods with optional return_dict parameter
  • Improved result handling in start and astart methods to return final response by default
  • Synchronized version updates across project configuration files

- Updated version to 2.0.80 across multiple files including praisonai.rb, pyproject.toml, uv.lock, Dockerfile, and docs
- Upgraded praisonaiagents dependency from 0.0.64 to 0.0.65
- Enhanced agent start methods with optional return_dict parameter
- Improved result handling in start and astart methods to return final response by default
- Synchronized version updates across project configuration files
@MervinPraison MervinPraison merged commit fce60e9 into main Feb 28, 2025
3 of 6 checks passed
Copy link

@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

This pull request focuses on updating the version of the PraisonAI package to 2.0.80 and upgrading the praisonaiagents dependency to version 0.0.65. The changes span across multiple files, including praisonai.rb, pyproject.toml, uv.lock, Dockerfile, and documentation. Additionally, the agent start methods have been enhanced with an optional return_dict parameter, and result handling in start and astart methods has been improved to return the final response by default.

Highlights

  • Version Bump: The primary focus is to bump the PraisonAI version from 2.0.79 to 2.0.80 across the project.
  • Dependency Upgrade: The praisonaiagents dependency is upgraded from version 0.0.64 to 0.0.65.
  • Agent Start Method Enhancement: The start and astart methods in praisonaiagents/agents/agents.py are updated to include an optional return_dict parameter, allowing users to retrieve the full results dictionary instead of just the final response.
  • Result Handling Improvement: The start and astart methods now return the final agent's response by default, improving usability.

Changelog

Click here to see the changelog
  • docker/Dockerfile
    • Updated praisonai version from 2.0.79 to 2.0.80 in the pip install command on line 4.
  • docs/api/praisonai/deploy.html
    • Updated praisonai version from 2.0.79 to 2.0.80 in the Dockerfile example on line 113.
  • praisonai.rb
    • Updated PraisonAI version from 2.0.79 to 2.0.80 in the url on line 6.
  • praisonai/deploy.py
    • Updated praisonai version from 2.0.79 to 2.0.80 in the Dockerfile creation on line 59.
  • pyproject.toml
    • Updated PraisonAI version from 2.0.79 to 2.0.80 on line 3.
    • Upgraded praisonaiagents dependency from 0.0.64 to 0.0.65 on line 15.
    • Updated PraisonAI version from 2.0.79 to 2.0.80 on line 87.
    • Upgraded praisonaiagents dependency from 0.0.64 to 0.0.65 on line 105.
  • src/praisonai-agents/praisonaiagents/agents/agents.py
    • Added return_dict parameter to astart method on line 480, allowing the return of the full results dictionary.
    • Modified astart method to return the final agent's response by default on lines 504-512.
    • Added return_dict parameter to start method on line 825, allowing the return of the full results dictionary.
    • Modified start method to return the final agent's response by default on lines 852-860.
  • src/praisonai-agents/pyproject.toml
    • Updated praisonaiagents version from 0.0.64 to 0.0.65 on line 7.
  • src/praisonai-agents/uv.lock
    • Updated praisonaiagents version from 0.0.64 to 0.0.65 on line 1871.
  • uv.lock
    • Updated praisonai version from 2.0.79 to 2.0.80 on line 3063.
    • Updated praisonaiagents version from 0.0.64 to 0.0.65 on line 3200.
    • Updated praisonaiagents version from 0.0.64 to 0.0.65, and updated the sdist and wheel URLs and hashes on lines 3253, 3260, and 3262.
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.


Trivia time!

What is the primary use case for the TOML configuration file format?

Click here for the answer
TOML (Tom's Obvious, Minimal Language) is designed to be a human-readable configuration file format. It is often used for configuration files due to its simple syntax that is easy to parse.

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.

Copy link

@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

The pull request updates the version of the PraisonAI framework and its agents, along with some enhancements to the agent start methods. The changes seem straightforward and well-documented.

Summary of Findings

Merge Readiness

The pull request appears to be in good shape for merging. The version updates are synchronized across the project, and the enhancements to the agent start methods are well-documented. I am unable to approve this pull request, and recommend that others review and approve this code before merging.

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