* use helper for _transform_messages mistral * add test_message_with_name to base LLMChat test * fix linting