1c5013e559
The assistant message content may contain <think>...</think> tags from extended thinking mode. Previously this raw thinking content was indexed into the chat history knowledge base, polluting embeddings and degrading RAG retrieval quality with intermediate reasoning text. Now we strip thinking blocks before building the passage for IndexMessageToKB, consistent with how load_history and rewrite plugins already strip thinking from conversation history.