Repository navigation
v2.2.19 - LLM-Driven Suggested Questions
This release improves suggested follow-up questions by having the LLM natively include them as clickable query URLs in its markdown responses.
Changes:
- System prompt instructs gpt-5-nano to suggest follow-up questions as markdown links with
https://chat.virtualflybrain.org?query=URLs - Client-side
renderLinkfunction detects these special query URLs and handles clicks by submitting the question as a new chat message - Eliminates false positive detection of regular content as suggested questions (fragile pattern matching removed)
- LLM has full control over suggestion placement (inline, bullets, sentences) and can omit suggestions when not appropriate
- More reliable than client-side extraction since LLM explicitly marks suggestions with URLs
This approach is more robust than pattern-matching extraction and gives the LLM full flexibility in how to present suggestions.