Does the Discourse source code support AI modes and AI overviews?

Discourse already support those very well, assuming you are talking about these:

3 Likes