Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case insensitive tool and agent names #126

Closed
wants to merge 4 commits into from

Conversation

jkellerer
Copy link

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)

Copy link

@Toon-nooT Toon-nooT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

joaomdmoura
joaomdmoura previously approved these changes Jan 14, 2024
Copy link
Collaborator

@joaomdmoura joaomdmoura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<3 Thanks super appreciate

@gvieira
Copy link
Collaborator

gvieira commented Mar 28, 2024

Do you mind fixing conflicts, so we can merge it?

@joaomdmoura
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants