D
Module

AI Agent

Overview of the AI Agent module that automates chat responses and follow-ups.

  • The module defines 7 follow-up scenarios that the AI agent can trigger during a conversation.
  • Prompts are loaded from config/default_data.php rather than the database, so prompt edits require a deploy.
  • generalPrompt() is currently broken and does not produce the expected fallback prompt.
  • Permission checks are disabled, allowing any authenticated user to access agent configuration endpoints.
  • The /agent/store route is dead code — no controller action is wired up to handle it.