Skip to content

[BUG] Custom tools are not called by the crewAI agent #2664

@sreanik

Description

@sreanik

Description

Custom tools are not called by the crewAI agent (even when the agent decides to invoke the tool). This issue is seen in the version 0.114.0. Works fine in the version 0.108.0.

Steps to Reproduce

Create a custom tool and assign it to an agent. The task description should necessitate the agent to invoke the tool.

Expected behavior

The custom tool is called by the agent when it decides to invoke.

Screenshots/Code snippets

N/A

Operating System

Ubuntu 20.04

Python Version

3.12

crewAI Version

0.114.0

crewAI Tools Version

0.40.1

Virtual Environment

Venv

Evidence

I ran the same piece of code in both 0.114.0 and 0.108.0 version of crewAI and noticed that tool was called only in 0.108.0.

Possible Solution

Probably, comparison of the two versions (0.114.0 and 0.108.0) to identify the delta code change that introduced the issue.

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions