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

[Bug]: CrewAI base_tool not being recorded as tool event #621

Open
1 of 3 tasks
bboynton97 opened this issue Jan 3, 2025 · 0 comments
Open
1 of 3 tasks

[Bug]: CrewAI base_tool not being recorded as tool event #621

bboynton97 opened this issue Jan 3, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bboynton97
Copy link
Contributor

Contact Details

No response

πŸ“¦ Package Version

0.3.21

🎞️ Framework Version

crewai==0.83.0

πŸ”Ž Describe the Bug

Crew now has two ways that you can define a tool. one is the langchain @tool decorator, which when used calls the langchain callback handler. the other is by inheriting from BaseTool, which does not call the langchain callback handler.

When using @tool, tool events are captured. When using BaseTool, AgentOps does not capture the tool event.

🀝 Contribution

  • Yes, I'd be happy to submit a pull request with these changes.
  • I need some guidance on how to contribute.
  • I'd prefer the AgentOps team to handle this update.
@bboynton97 bboynton97 added the bug Something isn't working label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants