interviewcopilot icon indicating copy to clipboard operation
interviewcopilot copied to clipboard

Error: AI request failed: [GoogleGenerativeAI Error]: First content should be with role 'user', got model

Open Asterlx opened this issue 1 year ago • 1 comments

great idea!!!!

i had some issue with gemini

Error: AI request failed: [GoogleGenerativeAI Error]: First content should be with role 'user', got model

Any suggestion?

Will be great if you can add other AI apis for voice and answer

Thanks a lot

Asterlx avatar Aug 23 '25 01:08 Asterlx

Its issue with Google gemini API. If you are free plan, Use different model or use OpenAI model for reliability. Thanks for trying.

hariiprasad avatar Aug 25 '25 14:08 hariiprasad