• 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.

    Parameters

    • preset: string

      The name of the preset to be used.

    • Optional prompt: string

      The prompt to be used for the chat request. If not provided, a placeholder will be used.

    • is16k: boolean = false

      Whether the 16k model should be used.

    • isReply: boolean = false

      Whether the last response should be used as the prompt.

    • isEdit: boolean = false

      Whether the last prompt should be opened in the editor.

    Returns Promise<void>

Generated using TypeDoc