Basing on the Error Showed, After learning more on the API Used, I have 2 of them Below you choose and use the best basing on your option
1.https://platform.openai.com/home
After Creating it it will be displayed as
API key details
API Key
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Name
Gemini API Key
Project name
projects/xxxxxxxx
Project number:xxxxxxxxxxxxxxx
Then go to Katalon Studio Click on the Katalon AI Assistant
Then in the Left hand corner click on the Setting Icon
Then choose Use Personal Open API Key
Add the Data from this link: https://platform.openai.com/home
Leave the Rest as they are, Max Completion Token: 60000,
Then click Apply and Close
Go to Windows Then Katalon Preference Settings- Then Katalon, Click on Katalon AI Asistant
Uncheck the Object Repository and Custom Keywords
And then Apply
Option 2: Choose https://aistudio.google.com/api-keys
Then go to Generic Agent and Choose Personal Gemini API Key
Add the Information from the Link above with the Keys as provided
Leave the Rest as they are, Max Completion Token: 60000,
Uncheck the Object Repository and Custom Keywords
And then Apply