Prompt Library variables used for input seem to break context in multi-turn chats
OpenAI Developer Community
June 15, 2026
Hi and welcome to the community!
There are a few things here that do not seem to work as expected when using Prompt objects in this context. In one case, after about 12 turns, the model asked for the user messages again as if they had disappeared.
Rather than suggesting a workaround, I think the more useful point is that Prompt objects are scheduled for deprecation on November 30 this year. Going forward, the best advice is probably to manage prompts on the developer side instead.
Sorry if this is not the reply you were hoping for, but I think it makes the most sense. Feel free to ping me if needed.
Discussion in the ATmosphere