Skip to content

Conversation

@aleksmeshr
Copy link

#708

  • Define the Tool message role for Mistral
  • Translates User messages having a ToolResult content into a message with the Tool role.
  • That fixes the error Expected last role User or Tool (or Assistant with prefix True) for serving but got assistant reported by Mistral when a User message with a ToolResult was provided

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