Skip to content

Edit existing HTML instead of regenerating from scratch #77

@GeneralJerel

Description

@GeneralJerel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions