Hacker News new | ask | show | jobs
by SeanA208 1142 days ago
Very cool. Out of curiosity, for the retries why are the errors appended as system messages as opposed to appending to the user message? And in either case, would it help to prepend the error with something like “Be sure to avoid outputting something that would cause this error:”?
1 comments

based on my experience with GPT-4 in coding tasks it responds extremely well to just appended raw error output text without additional explanation.