Fix optional args toolcalling by aymeric-roucher 路 Pull Request #1538 路 huggingface/smolagents (original) (raw)

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:

I think that distinction is important when reasoning about how LLMs should construct tool arguments.