agentops
agentops copied to clipboard
[Bug]: CrewAI `base_tool` not being recorded as tool event
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.
- [X] I'd prefer the AgentOps team to handle this update.
Solved in [Feature] AgentOps Extensive Tool Tracking.