Overview

I don't have all the context this but we looking at prompt logging. Everything current runs through \Drupal\canvas_ai\Controller\CanvasBuilder::render which currently 242 lines after #3555464: CanvasBuilder::render() logic around specific tool response is unclear this will a bit shorter but it still does a ton.

Proposed resolution

Simplify \Drupal\canvas_ai\Controller\CanvasBuilder::render
Start with 1 MR to clean up what is there so adapting it for logging will be easier

User interface changes

None

Issue fork canvas-3556264

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

tedbow created an issue. See original summary.

tedbow’s picture

Assigned: Unassigned » tedbow

Working on this

tedbow’s picture

Status: Active » Needs work