mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 21:45:25 +08:00
Previously, the AI debug modal loaded the newest audit log in the topic up to the clicked post; since title generation runs after the first bot reply and logs without a `post_id`, debugging the first reply opened the titlebot request instead of the reply's own interaction, which confused users. This change makes `show_debug_info` prefer the audit log belonging to the clicked post (falling back to the newest topic-scoped log only when the post has none), while topic-scoped logs such as title generation remain reachable via next/previous navigation. |
||
|---|---|---|
| .. | ||
| admin | ||
| ai_bot | ||
| ai_helper | ||
| discord | ||
| discover | ||
| embeddings | ||
| sentiment | ||
| summarization | ||
| translation | ||
| ai_credits_controller_spec.rb | ||
| composer_controller_spec.rb | ||
| mcp_oauth_controller_spec.rb | ||
| post_image_captions_controller_spec.rb | ||
| post_image_captions_rss_spec.rb | ||
| topic_spec.rb | ||