Skip to content

[Tiny Agents] Add dummy parameters field to exit loop tools #1624

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hanouticelina
Copy link
Contributor

Follow-up PR to #1610.
Some LLM engines (like llama.cpp) strictly validate the parameters field in function definitions, even for tools that take no arguments. To avoid parsing issues, this PR adds an explicit dummy parameters field.
(See: huggingface/huggingface_hub#3218)
✅ I tested the PR with different providers/models to make sure it's backward compatible.

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.

2 participants