[DO NOT MERGE] Canvas Real time page updates POC- Chicago demo#15
Open
akhilbabu-qed-42 wants to merge 1 commit into
Open
[DO NOT MERGE] Canvas Real time page updates POC- Chicago demo#15akhilbabu-qed-42 wants to merge 1 commit into
akhilbabu-qed-42 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Canvas AI — Branch Changes (Read https://git.drupalcode.org/project/canvas/-/work_items/3591615#note_1083859 for more insights)
This branch (
canvas-ai-poc) changes how Canvas AI builds pages and how page generation is rendered.1. Check out the branch and pull the latest changes
2. Run the demo setup
From the root of the project, run:
3. Orchestrator now owns page creation
The orchestrator agent (
canvas_ai_orchestrator) now handles page creation directly. The dedicated page-building agents — Page Builder (canvas_page_builder_agent) and Template Builder (canvas_template_builder_agent) — are no longer used and have been removed from the context setup.Because of this, all context items related to page building are now assigned to the orchestrator agent. The orchestrator's
always_includelist (incustom_recipes/ai_context_setup/recipe.yml) now carries the full set:4. New setting: Disable real-time page generation
A new option, Disable real-time page generation, has been added under:
Enabling this turns off real-time (live) updates during page building. Instead of streaming changes block by block as the agent works, the agent generates the entire page in one go.
In the same config, set Maximum chat history messages to
20.5. Enable Loop-aware context injection
Not included in this POC
The following are not part of this POC and will not work: