Prompt Library variables used for input seem to break context in multi-turn chats
OpenAI Developer Community
June 16, 2026
I read this two weeks ago, and the use of variables as a one-shot insertion into an early fixed message, or even developer message? No wonder the AI can’t figure out what’s going on.
A conversation is:
user: hello
assistant: hello back at you
not the next turn being:
developer: you are a friendly AI\nWhat was my first message?
assistant: hello back at you
Discussion in the ATmosphere