instructor_ex icon indicating copy to clipboard operation
instructor_ex copied to clipboard

Fix system prompt doubling on retry

Open srcrip opened this issue 8 months ago • 2 comments

I'm unsure if this is affecting anyone else, but for me, I get doubling of the system prompt on retries. This prevents it by checking if it's already in the messages context before trying to add it.

srcrip avatar Jun 12 '24 20:06 srcrip