Persist the user message before streaming so the model receives the current question (previously only the system prompt was sent on new chats, causing canned greetings). Also fixes user message being lost when the AI call errors.
Persist the user message before streaming so the model receives the current question (previously only the system prompt was sent on new chats, causing canned greetings). Also fixes user message being lost when the AI call errors.