gpt-engineer-org / gpt-engineer

Specify what you want it to build, the AI asks for clarification, and then builds it.
MIT License
51.36k stars 6.68k forks source link

Gemini 1.5 pro/flash #1178

Open rtmcrc opened 5 days ago

rtmcrc commented 5 days ago

Add Google Gemini 1.5 pro/flash support.

viborc commented 4 days ago

Thanks for this suggestion; we'll discuss it during our meeting tomorrow!

viborc commented 3 days ago

Hey @rtmcrc - we had a brief discussion about this today, but we had a somewhat smaller attendance than usual, so I'll be following up with our contributors over the next week or so to see if it makes sense for us to support this family of models.

I'll keep this issue open until we make a decision. Thanks for opening it up, and if you want to provide any additional details or context, feel free to do so!

rtmcrc commented 2 days ago

Thanks @viborc . i've made it. You may check it out in rtmcrc/gpt-engineer . I don't remember exactly which files i altered. They were gpt_engineer/applications/cli/main.py gpt_engineer/core/ai.py .env.template . You'll have to install google langchain before running it. pip install langchain-google-genai

But as i said i don't remember exactly if it were these files only so i uploaded all repo rtmcrc/gpt-engineer