Current implementation of the MiniMaxChatModel function calling is not working and lacking any ITs.

Follow the OpenAIChatModel implementation as a reference to implement Function Calling.