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)
Do you mind fixing conflicts, so we can merge it?
I tried resolving the conflicts but decided to pull these change into the new version myself as it felt simpler, it will be live int he next version so clsogin this one