- Issue created by @sijumpk
When the module agent is instructed to enable a module that has a missing dependency, the process ends with an error in the chat interface.
Instead of gracefully handling the dependency issue, the chatbot fails and shows the error
"An error occurred while fetching messages. Please try again."
while the logs report
"The chatbot had an error: We could not figure out which module you meant. Please specify better."
.
This prevents the user from knowing the real cause (missing dependency) and breaks the conversation flow.
composer require 'drupal/sitemap:^2.0'
but do not enable it.
Install "Sitemap book" module
.yes
.yes
."An error occurred while fetching messages. Please try again."
.
"The chatbot had an error: We could not figure out which module you meant. Please specify better."
.
Active
1.2
Code