Openai assistant api how to maintain context

In the communication with OpenAI’s Assistant API, how does the Assistant API maintain the context of the conversation?