I'm not sure if that's already exposed as an option, but if you're happy to run this app locally, then LiteLlm exposes local models using the OpenAI API. That means you only need to change the endpoint, tell LiteLlm to use for example Mistral and it should "just work". Even if not implemented yet, it would be a trivial change.