Netlify Overriding my API keys

How do I use my own ai api keys?

I have disabled AI features for the team.
I have set OPENAI_API_KEY for project for all contexts except Local development (Netlify CLI)
I set OPENAI_API_KEY in local .evn file

and still after this Netlify is overriding api key.
also netlify is proxying requests in local dev and i can’t use different env var.

Does anyone know if its possible to bring my own API key or this is another platform that locks you in?

Ok I found a solution - had to specify both baseUrl and apiKey for connector. Docs didn’t seem clear about this.

Deepak deepak rajbhar ji