abhishek9sharma / sarathi

A CLI coding assistant
MIT License
3 stars 1 forks source link

Alternative OpenAI API Key Environment Variable #22

Closed domainexpert closed 3 months ago

domainexpert commented 3 months ago

It may be a good idea to prioritize reading from, maybe an environment variable called SARATHI_OPENAI_API_KEY, so that we can use a token key specifically for Sarathi. I think people may have OPENAI_API_KEY defined for other uses.

abhishek9sharma commented 3 months ago

https://github.com/abhishek9sharma/sarathi/pull/25 should address this. Also I have added the option for user if they want to generate commit and not ammend. All covered in this above PR. Let me know in case you have any comments

domainexpert commented 3 months ago

Thank you @abhishek9sharma. #25 looks good to me.