npiv / chatblade

A CLI Swiss Army Knife for ChatGPT
GNU General Public License v3.0
2.58k stars 92 forks source link

Allow to set default model via env variable #51

Closed webholics closed 1 year ago

webholics commented 1 year ago

For daily usage it would be helpful to be able to set the default GPT model via an env variable similar to the OPENAI_API_KEY. e.g. OPENAI_API_MODEL. Because I am most of the time using GPT-4 and not 3.5.