Pythagora-io / gpt-pilot

The first real AI developer
Other
29.06k stars 2.91k forks source link

Code monkey in iteration #1013

Closed senko closed 1 week ago

senko commented 2 weeks ago

CodeMonkey prompt references a previous message which is either task breakdown or iteration, but we've previously always appended the task convo. Now, if a file is changed based on the iteration instructions, the correct prompt template is used

Prompts in LLM request log in database:

Screenshot from 2024-06-12 14-46-30

Also, a tiny fix for yet another variant of API error that we want to catch and handle.

LeonOstrez commented 1 week ago

since https://github.com/Pythagora-io/gpt-pilot/pull/1018 was merged, I'm closing this PR