kardolus / chatgpt-cli

ChatGPT CLI is a versatile tool for interacting with ChatGPT models via OpenAI and Azure, as well as with models from Perplexity AI. It offers streaming, query mode, and history tracking for seamless, context-aware interactions. With extensive configuration options, it’s designed for both users and developers to create a tailored GPT experience.
MIT License
503 stars 34 forks source link

`config.yaml`'s comments should be preserved when being written #37

Closed nopeless closed 6 months ago

nopeless commented 6 months ago

a nice qol because I hand edit the yaml a lot and add comments

kardolus commented 6 months ago

@nopeless great point. I will look into this!

kardolus commented 6 months ago

@nopeless fixed this in version v1.5.2 :)

It was kinda fun to work on. Never done low level yaml reading/writing before. Let me know if you encounter any issues.