How to use Cursor with external models (such as Groq LLMs)?

Check it out, its a template I got working with groq in cursor. lets you run any llm or provider you want. You have to do the hardwork of integrating it but theres 2 working examples in the codebase.