- Issue created by @anjaliprasannan
- 🇮🇳India prashant.c Dharamshala
Similar to the https://www.drupal.org/project/ai_agents/issues/3516448 🐛 Fatal Error on enabling Active but steps to reproduce are different i.e occurring on Assistants.
- Merge request !628Issue #3526029: Error page when adding ai assistants when ai_agent module is... → (Merged) created by Unnamed author
- 🇮🇳India annmarysruthy
Reviewed the MR and tested the changes. The MR fixes the issue when adding ai assistant without ai_agent installed. @anjaliprasannan
- 🇧🇬Bulgaria valthebald Sofia
In AiAssistantForm.php around line 239:
$form['agents_enabled']['agents_agent'] = [ '#type' => 'checkboxes', '#title' => $this->t('Agents to use'), '#options' => $agent_options, '#default_value' => $tools, '#description' => $this->t('Select which agents to use for this plugin.'), ]; // Only show if AI search is enabled. if ($this->moduleHandler->moduleExists('ai_search')) {
there should be similar check if ai_agents module is enabled (same check as for ai_search module in the code fragment above).
Otherwise, there is an empty "Agents to use" form element.
I'm reviewing the MR and will add comments in gitlab if I see something else. - 🇮🇳India prabha1997
Reviewed the MR and tested the changes. The MR fixes the issue when adding ai assistant without ai_agent installed
-
marcus_johansson →
committed 74613d47 on 1.1.x authored by
anjaliprasannan →
Issue #3526029: Error page when adding ai assistants when ai_agent...
-
marcus_johansson →
committed 74613d47 on 1.1.x authored by
anjaliprasannan →
-
marcus_johansson →
committed 74613d47 on 1.2.x authored by
anjaliprasannan →
Issue #3526029: Error page when adding ai assistants when ai_agent...
-
marcus_johansson →
committed 74613d47 on 1.2.x authored by
anjaliprasannan →
Automatically closed - issue fixed for 2 weeks with no activity.