The name of the model to use.
An array of Message structs representing the chat history.
Additional chat options (e.g., temperature).
Whether to stream the response (ignored in this implementation).
A JSONValue object containing the chat response and metadata.
Engages in a chat interaction using the specified model and message history.