crewAI
crewAI copied to clipboard
Case insensitive tool and agent names
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)