fix: exclude name field from Mistral tool_calls (#3572)
* fix: exclude name field from Mistral tool_calls (#3572) Add skip_serializing_if to the compatibility fields (name, arguments, parameters) on the ToolCall struct so they are omitted from the JSON payload when None. Mistral's API returns 422 "Extra inputs are not permitted" when these extra null fields are present in tool_calls. * fix: format serde attribute for CI lint compliance
This commit is contained in:
parent
c9c8f5df1d
commit
9c0189f255