...
Use this property to override the default format of how the data is exchanged with the model. Providers may support different formats. For example, OpenAI offers “completion” and “assistant” API.
useMessages
The default value for this property is true. The property indicates whether the model provider’s API supports a list of conversation messages. Set this property to false if the model API cannot process conversation messages as a list and the information will be sent to the API as one text prompt containing all the messages.
apiKey
This property contains the API key or secret key associated with the respective model. These keys are used for authentication when making requests to the API.
...