What is the primary goal of the chatbot exercise?	To build a simple chatbot using three helper functions.
How does the chatbot maintain context for follow-up messages?	By maintaining a list of previous messages.
What Python structure is used to make the chatbot run indefinitely?	A `while True` loop.
Which built-in Python function is used to capture user input?	The `input()` function.
Which function is used to add the user's typed text to the message history?	`add_user_message()`.
What function is used to send the complete message history to the AI model?	`chat_with_messages`.
Which function is used to save the AI's generated response back into the message history?	`add_assistant_message()`.
Describe the sequence of actions after a user provides input.	Add user message -> Call API -> Add assistant message.
When running the chatbot in VS Code, what extra step is required for user input?	Explicitly printing the user input.
Why is it important to add the AI's response using `add_assistant_message()`?	To ensure the conversation history is complete and the model remembers the context.
