Overview

Extracted from #3584136: Canvas AI - Not able to create the components

When Canvas AI is used with AI ^1.3 or above, it is no longer possible to create code components due to the hostname filtering functionality added to AI Core. See

https://www.drupal.org/project/canvas/issues/3584136#comment-16558197
https://www.drupal.org/project/canvas/issues/3584136#comment-16558197

Proposed resolution

  • https://git.drupalcode.org/project/ai_agents/-/work_items/3585986 adds a new option for AI agents to disable the hostname filtering. Once AI Agents get a release with this fix, we should enable that option for the component agent. It should be disabled for all other agents.
  • Update the agent configs under canvas_ai/install with the new config (Enabled for component agent, disabled for all other agents)
  • Add an update hook

User interface changes

Comments

akhil babu created an issue. See original summary.

akhil babu’s picture

Title: Canvas AI: Update Agent configs after 3585986 lands » Canvas AI: Update Agent configs after https://git.drupalcode.org/project/ai_agents/-/work_items/3585986 lands
Issue summary: View changes
akhil babu’s picture

Issue summary: View changes