Overriding user_guardian.rb in a plugin (no fork necessary!)

I intend to revitalize the subject; however, with the latest update, I integrated the AI plugin, and upon switching to the core system, the modifications I made were lost. How might I implement a solution similar to this?

I need to modify this file: discourse/plugins/discourse-ai/assets/javascripts/discourse/services/ai-bot-conversations-hidden-submit.js at main · discourse/discourse · GitHub

Currently, when users send messages via AI, I publish them as regular topics.

Why? I greatly appreciate the design of asking questions through AI, as it is highly convenient. We do not waste time selecting titles or categories. I want users to easily just ask their questions (hopefully, one day Discourse will support this design for creating new topics).

Thanks