Skip to content

v2.0.77#396

Merged
MervinPraison merged 3 commits intomainfrom
develop
Feb 27, 2025
Merged

v2.0.77#396
MervinPraison merged 3 commits intomainfrom
develop

Conversation

@MervinPraison
Copy link
Copy Markdown
Owner

No description provided.

- Enhanced LLM and Agent classes with detailed debug logging capabilities
- Added parameter and configuration logging for get_response and chat methods
- Implemented time tracking for method execution in debug mode
- Masked sensitive information like API keys in logs
- Created new Wikipedia agent example script demonstrating agent initialization
- Updated version to 2.0.77 across multiple files including praisonai.rb, pyproject.toml, uv.lock, Dockerfile, and docs
- Upgraded praisonaiagents dependency from 0.0.61 to 0.0.62
- Synchronized version updates across project configuration files
Copy link
Copy Markdown
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

This pull request updates the version of the PraisonAI package to 2.0.77 and praisonaiagents to 0.0.62. The changes involve updating the Dockerfile, documentation, the main praisonai.rb file, the deploy.py file, multiple pyproject.toml files, and the uv.lock files to reflect the new version number. Additionally, logging has been added to the praisonaiagents library to provide more detailed debugging information.

Highlights

  • Version Update: The core change is updating the PraisonAI package version from 2.0.76 to 2.0.77 and praisonaiagents from 0.0.61 to 0.0.62 across multiple files.
  • Dockerfile Update: The Dockerfile is updated to use the new PraisonAI version 2.0.77 during the pip install step.
  • Documentation Update: The documentation file docs/api/praisonai/deploy.html is updated to reflect the new PraisonAI version in the example Dockerfile generation code.
  • Homebrew Formula Update: The praisonai.rb file, used for Homebrew installation, is updated to point to the new PraisonAI version 2.0.77.
  • Agent Logging: Extensive logging has been added to the praisonaiagents library, specifically within the agent.py and llm.py files, to provide detailed debugging information about agent and LLM configurations and execution.
  • Tool Definition Generation: A new function _generate_tool_definition has been added to praisonaiagents/llm/llm.py to dynamically generate tool definitions from function signatures and docstrings.

Changelog

Click here to see the changelog
  • docker/Dockerfile
    • Updated praisonai version from 2.0.76 to 2.0.77 in the pip install command.
  • docs/api/praisonai/deploy.html
    • Updated praisonai version from 2.0.76 to 2.0.77 in the example Dockerfile generation code.
  • praisonai.rb
    • Updated PraisonAI version from 2.0.76 to 2.0.77 in the URL.
    • The SHA256 checksum remains the same.
  • praisonai/deploy.py
    • Updated praisonai version from 2.0.76 to 2.0.77 in the Dockerfile creation function.
  • pyproject.toml
    • Updated PraisonAI version from 2.0.76 to 2.0.77 in multiple locations.
    • Updated praisonaiagents version from 0.0.61 to 0.0.62.
  • src/praisonai-agents/llm-tool-call.py
    • Added a new file llm-tool-call.py with example usage of Wikipedia tools.
  • src/praisonai-agents/praisonaiagents/agent/agent.py
    • Added logging of agent.chat parameters when in debug mode
    • Added logging of agent.achat parameters when in debug mode
    • Added logging of completion time if in debug mode
  • src/praisonai-agents/praisonaiagents/llm/llm.py
    • Added logging of LLM instance initialization parameters when in debug mode
    • Added logging of get_response parameters when in debug mode
    • Added logging of get_response_async parameters when in debug mode
    • Added logging of response method configuration when in debug mode
    • Added a new function _generate_tool_definition to dynamically generate tool definitions from function signatures and docstrings.
  • src/praisonai-agents/pyproject.toml
    • Updated praisonaiagents version from 0.0.61 to 0.0.62.
  • src/praisonai-agents/uv.lock
    • Updated praisonaiagents version from 0.0.61 to 0.0.62.
  • uv.lock
    • Updated PraisonAI version from 2.0.76 to 2.0.77.
    • Updated praisonaiagents version from 0.0.61 to 0.0.62.
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.


Did you know?

The first version of Python (Python 0.9.0) was released in February 1991.

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
Copy Markdown
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

The pull request updates the version of the praisonai library and its dependencies across multiple files. The changes seem straightforward and consistent.

Summary of Findings

Merge Readiness

The pull request appears to be a simple version update and seems ready for merging. I am unable to directly approve the pull request, and users should have others review and approve this code before merging.

@MervinPraison MervinPraison merged commit f3c1516 into main Feb 27, 2025
3 of 6 checks passed
shaneholloman pushed a commit to shaneholloman/praisonai that referenced this pull request Feb 4, 2026
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