Which LLM are you using?
Generally, we leave the LLM up to the user -- if OpenAI or Google is a no-go, then you probably are anyway in the territory of self-hosting or even self-training your LLM, which means you're fine setting up your own inference endpoints as well.
https://github.com/opencopilotdev/opencopilot/blob/d7aa8270d...