How to switch AI models without rewriting your app

· Dev.to