crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

Case insensitive tool and agent names

Open jkellerer opened this issue 6 months ago • 1 comments

Thanks for the great toolset.

Had tried it with a locally running Mistral 7b and found that this LLM, while being very usable on commodity HW, doesn't always get case and leading/trailing spaces right. With this change the trip planner example started to work.

This PR adds strip().casefold() for agent names and casefold() for tool names (as strip() was existing already)

jkellerer avatar Jan 13 '24 17:01 jkellerer