func sendPrompt() async {
   do {
      let answer = try await session.respond(to: prompt)
         
      var newResponse = AttributedString("\(answer.content)\n\n")
      newResponse.font = .system(size: 16, weight: .regular)
      response.append(newResponse)
   } catch PrivateCloudComputeLanguageModel.Error.quotaLimitReached(let reason) {
      var quotaMessage = "Quota limit reached"
      if let date = reason.resetDate {
         quotaMessage += " (resets \(date.formatted()))"
      }
      var newResponse = AttributedString("\(quotaMessage)\n\n")
      newResponse.font = .system(size: 16, weight: .regular)
      response.append(newResponse)
   } catch {
      response.append(AttributedString("Error accessing the model: \(error)\n\n"))
   }
   prompt = ""
}