constructPrompt({
    systemPrompt = "",
    contextTexts = [],
    chatHistory = [],
    userPrompt = "",
    _attachments = [], // not used for Dell Pro AI Studio - `attachments` passed in is ignored
  }) {
    const prompt = {
      role: "system",
      content: `${systemPrompt}${this.#appendContext(contextTexts)}`,
    };
    return [
      prompt,
      ...formatChatHistory(chatHistory, this.#generateContent),
      {
        role: "user",
        content: this.#generateContent({ userPrompt, _attachments }),
      },
    ];
  }
Construct the user prompt for this model.
@param {{attachments: import("../../helpers").Attachment[]}} param0
@returns