instructor_ex
instructor_ex copied to clipboard
Fix system prompt doubling on retry
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.