The project uses the ai npm package from Vercel which does interface with a lot of different LLMs.
But I imagine there is a little work for it to just work with any provider.
I think it would be really cool to get it running with something like Mistral in the browser: https://webllm.mlc.ai/