OpenGenerativeUI icon indicating copy to clipboard operation
OpenGenerativeUI copied to clipboard

Edit existing HTML instead of regenerating from scratch

Open jerelvelarde opened this issue 7 months ago • 0 comments

Problem

When editing HTML code in a follow-up message, the agent regenerates the entire file from scratch instead of editing the existing content in place.

Expected Behavior

The agent should apply targeted edits to the existing HTML, preserving the original structure and only modifying the relevant parts.

Steps to Reproduce

  1. Generate an HTML file (e.g., 3d-plane-pitch-roll-and-yaw.html)
  2. Send a follow-up message requesting a change to the generated HTML
  3. Observe that the agent regenerates the entire file instead of editing the existing one

Impact

  • Slower response times due to full regeneration
  • Risk of losing prior customizations or context
  • Poor user experience for iterative editing workflows

jerelvelarde avatar Apr 06 '26 20:04 jerelvelarde