Issue #3480946: Check for enabled actions before executing pre-prompt.
2 open threads
Closes #3480946
Merge request reports
Activity
381 381 } 382 382 383 383 try { 384 $pre_prompt = $this->assistant->get('pre_action_prompt'); 385 if ($pre_prompt) { 384 $enabled_actions = $this->assistant->get('actions_enabled'); 385 if ($enabled_actions) { This may have been considered and discussed elsewhere, but this change would mean that if a developer altered the prompt so that actions weren't required - as in !184 (closed) - the prompt would not be run. It will also conflict with the changes in https://www.drupal.org/project/ai/issues/3480528 and may be a duplicate of that. Not a maintainer though so probably @Marcus_Johansson or someone else will have the final say.
Please register or sign in to reply