Cannot call Google Gemini API functions in SAPUI5 App
I have integrated Gemini API in SAPUI5 app and the results are coming as well. I am able to get the response JSON when the API key is inserted and can see what models are available. But not able to send the prompt to the model and get the response. I am not sure how to use async and await in UI5, since UI5 by default calls functions in async