gpt-engineer
gpt-engineer copied to clipboard
Add .env support
1, Use dotenv to init env variables 2, Support custom openai base URL 3, Tested locally 4, Update readme
@AntonOsika Let me know if you have any question on this pr
Used gpt3.5 default to save money (its token price further reduced recently)
I like the fact that you added the temperature setting btw
https://github.com/AntonOsika/gpt-engineer/commit/b5ed9ecaf658848f7dd3a6a429e8eb63f2fd5850
Model validation is removed, probably better to just let users figure out which model they want to use
Repo philosophy:
Minimise the number of lines of code.
Since we only need OPENAI KEY as env variable, I'm not sure what problem it solve to add a dotenv.
You can ofc keep your own .env file if you prefer it!
Please let me know if there is a good reason to add the temperature etc to .env file 🙏
Open discussion about this in #135