Why is context lost in a multi-message conversation when using the Anthropic API?	The Anthropic API and Cloud do not store any messages or responses.
What are the two critical requirements for maintaining a multi-message conversation context?	1) Manually maintain a list of all exchanged messages in your code. 2) Provide this entire list with every follow-up request.
What must be included in every follow-up request to ensure the model maintains conversation flow?	The entire list of all previous messages exchanged.
What is the function of the `add user message` helper function?	To take a list of messages and append a new message with the role of 'user' and provided text.
What is the function of the `add assistant message` helper function?	To take a list of messages and append a new message with the role of 'assistant' and provided content.
After receiving a response from the model, what action must be taken to maintain conversation history?	The assistant's response must be appended to the list of messages.
What is the purpose of the `chat` helper function?	To take the complete list of messages (the message history) and call the Anthropic API to generate a response.
Describe the typical workflow for maintaining conversation history.	Send initial user message -> Get assistant response -> Append response to history -> Send new user message + entire history back to the API.
