mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-07 20:18:16 +00:00
When the bot is @mentioned, we need to be a lot more careful about constructing context otherwise bot gets ultra confused. This changes multiple things: 1. We were omitting all thread first messages (fixed) 2. Include thread title (if available) in context 3. Construct context in a clearer way separating user request from data