gpt-engineer icon indicating copy to clipboard operation
gpt-engineer copied to clipboard

allow dotenv in ai, add ai unit tests, add CONTRIBUTING.md

Open rwmartinez opened this issue 2 years ago • 1 comments

I got tired of entering my API key every time I opened a new terminal and wrote some tests

rwmartinez avatar Jun 16 '23 19:06 rwmartinez

@patillacode @AntonOsika This is a great repo, thanks for the hard work maintaining it.

This MR adds the ability to load the OPENAI_API_KEY from .env instead of only via the CLI. It also separates app vs. dev dependencies and added contributing.md details. I saw you had .github/contributing.md in another PR so this should beef it up a bit.

rwmartinez avatar Jun 16 '23 23:06 rwmartinez

Open discussion related to this in #135

patillacode avatar Jun 18 '23 01:06 patillacode

Thanks @rwmartinez

For now, I prefer not using monkeypatch.

Also I think we are fine to just use env variables to keep it as simple as possible for now

AntonOsika avatar Jun 18 '23 07:06 AntonOsika