Change record status: 
Project: 
Introduced in branch: 
1.x
Description: 

Existing sites that use Canvas AI

Action needed: run database updates (drush updb).

  • No data is deleted. Your existing agents are kept and moved to a new module, Canvas AI Legacy (canvas_ai_legacy), which the update installs.
  • The AI chat shows a warning that it is deprecated.
  • The edit forms of the legacy agents show a warning that the agent is deprecated.

https://www.drupal.org/files/Legacy%20chat%20UI.png
/files/Legacy%20agent%20warning.png

To use the new agents, uninstall Canvas AI Legacy. Uninstalling it deletes the legacy agents, including any changes you made to them.

Sites that deploy configuration

  1. Run drush updb.
  2. Export the configuration (drush cex). The export contains these changes:
    • core.extension: canvas_ai_legacy is enabled.
    • The existing agent configurations depend on canvas_ai_legacy.
    • New agent configurations: ai_agents.ai_agent.canvas_agent and ai_agents.ai_agent.drupal_canvas_page_agent.
    • canvas_ai.settings: main_agent, tools and keep_tool_calls_in_history are set.
  3. Commit the exported configuration.
  4. To use the new agents, uninstall Canvas AI Legacy, export the configuration, and commit it. The export removes canvas_ai_legacy from core.extension and deletes the legacy agent configurations.

New sites

No action needed. Installing Canvas AI enables the new agents.

To use the legacy agents instead, install Canvas AI Legacy.

AttachmentSize
Legacy chat UI.png39.9 KB
Legacy agent warning.png112.18 KB
Impacts: 
Site builders, administrators, editors
Module developers
Themers
Site templates, recipes and distribution developers