Why does the open ai responses model is not working with the Gemini Api key

this is the error and the code snippet.

Hi @Muhammad_Ismail, Welcome to forum!!

Are you using OpenAI compatibility to access Gemini models through OpenAI libraries??

Generally, error code 404 occur when The requested resource wasn’t found (An image, audio, or video file referenced in your request was not found.).

Can you please share your piece of code to repro and debug more into the issue if possible?

Thanks