Skip to content

Conversation

@arjan
Copy link
Contributor

@arjan arjan commented Dec 12, 2025

ToolResult content can be a list of ContentParts, but Mistral API expects tool result content to be a string. The for_api function now properly converts ContentParts to strings using ContentPart.parts_to_string/1.

ToolResult content can be a list of ContentParts, but Mistral API expects
tool result content to be a string. The for_api function now properly
converts ContentParts to strings using ContentPart.parts_to_string/1.
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.

1 participant