-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix optional args toolcalling #1538
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
Conversation
1a4461b
to
702199d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there might be some confusion around the term "nullable" in this context.
We should clarify terminology: "nullable" can be interpreted in two ways:
- either that the argument can explicitly be set to None,
- or that it's optional in the sense that it has a default value and doesn't need to be passed at all.
I think that distinction is important when reasoning about how LLMs should construct tool arguments.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I just added a complete test suite (some of them to be addressed in a subsequent PR).
No description provided.