ibigio / shell-ai

A delightfully minimal, yet remarkably powerful AI Shell Assistant.
GNU General Public License v3.0
266 stars 25 forks source link

Add Config File Support #23

Closed ibigio closed 11 months ago

ibigio commented 11 months ago

Add a config file at ~.shell-ai/config.yaml that specifies the available models and their respective configuration, including prompts. This is a) to clean up the code a lot, b) centralize config options, and c) prepare for support for other models (OSS, etc).

The file will be auto-created when running the updated code, and populated with the settings according to the current env var config, so this should be a backwards compatible change. That said, since this does change the interface moving forward (and paves the way for easily adding other models) I'm declaring this the first official release of ShellAI 🎉.