Assistant added duplicate message

Hi, I found that assistant API sometime add same message at one run, I have tired to use prompt to avoid this problem, but it didn’t work.
Has anyone encountered this problem before?

Did you call run twice maybe? :thinking:

Hi!

You want to return the message at the end only.
During development it’s quite normal to return the message at every step and then one forgets that it’s needed only once.

1 Like