The issue of two asterisks on WhatsApp API messages

provide feedback on the integration of the Gemini AI API with the WhatsApp API. Specifically, I would like to address an issue regarding text formatting when Gemini AI generates responses containing double asterisks (**).

Currently, when Gemini AI sends responses with double asterisks, the text formatting intended to bold or italicize words in WhatsApp does not work correctly. Instead of displaying bold or italicized text, the double asterisks appear as plain text, making the response look awkward. For example, what should appear as 𝗲𝘅𝗮𝗺𝗽𝗹𝗲 ends up being displayed as 𝗲𝘅𝗮𝗺𝗽𝗹𝗲, which is not the desired outcome.

To address this issue, I suggest implementing a feature or configuration in Gemini AI that ensures:

  1. When WhatsApp API is connected to Gemini AI, any occurrence of double asterisks (**) in the text should automatically be converted to single asterisks (*). what should be 𝗲𝘅𝗮𝗺𝗽𝗹𝗲, instead becomes an 𝗲𝘅𝗮𝗺𝗽𝗹𝗲
  2. Ensure that formatting intended for bold or italic text remains consistent and correctly displayed in WhatsApp messages.

This adjustment would significantly improve the user experience by maintaining proper text formatting and avoiding the awkward display of double asterisks in WhatsApp messages.

Thank you for considering this feedback. I believe this enhancement will be beneficial for many users who integrate Gemini AI with WhatsApp API.