The name of the preset to be used.
Optional
prompt: stringThe prompt to be used for the chat request. If not provided, a placeholder will be used.
Whether the 16k model should be used.
Whether the last response should be used as the prompt.
Whether the last prompt should be opened in the editor.
Generated using TypeDoc
This function handles the presets for the chat application. It retrieves the settings for the specific preset, gets user input, sends the chat request, saves the interaction data, and opens the response in the specified application.