Skip to content

Skill Validation Should Fail on Names Containing Spaces #3

@hGriff0n

Description

@hGriff0n

I'm using langchain, so this might be something that's better for that implementation, especially as this is model specific. Already filed a similar bug there (langchain-ai/langchain-google#1332) but cross-filing it here in case there's a broader issue.

My impression is that gemini is oddly restrictive in how it requires tool definitions to be formatted. One of those requirements is apparently that the tool name not contain spaces. I see all your examples do show a '-' instead of spaces, so possibly my fault.

In the case that this is not model-specific, I would think we could add this to the skill validation on load and prevent an api call that's just going to fail.

Metadata

Metadata

Assignees

Labels

backlogIssue is in backlog for future development. It needs to be analysed before developmentenhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions