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

feat: Add list_tools method to Agent with logging & test cases & upda… #167

Closed
wants to merge 1 commit into from

Conversation

Muhammadzainattiq
Copy link

@Muhammadzainattiq Muhammadzainattiq commented Mar 14, 2025

Screenshot 2025-03-15 030440
Added list_tools method to Agent class: This method returns a list of tools available to the agent, with logging for empty tool lists.

-Added a test case for list_tools method.

-Updated documentation of agents.md file to include this list_tools function.

-Also added the documentation for the get_system_prompt function.

…te docs for list_tools method and get_system_prompt method
Copy link
Collaborator

@rm-openai rm-openai left a comment

Choose a reason for hiding this comment

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

agent.tools already gives you a list, and the additional value from having a list of strings isn't quite enough to justify increasing the surface area of the API. Let me know if you have a strong argument in favor of it.

@rm-openai rm-openai closed this Mar 19, 2025
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.

2 participants