• Adeniji Adekunle James's avatar
    fix: hide <dyad-command> tags from generated text output (#945) (#1162) · ebcf89ee
    Adeniji Adekunle James 提交于
    ### Summary
    This PR hides `<dyad-command type="refresh"></dyad-command>` tags from
    generated text outputs. These elements are not intended for end users
    and clutter the response text.
    
    ### Changes
    - Filter out `<dyad-command>` tags from generated text.
    - Ensure no regressions in rendering or formatting of user-visible
    output.
    
        
    <!-- This is an auto-generated description by cubic. -->
    ---
    
    ## Summary by cubic
    Hide dyad-command tags from chat output so internal commands never
    appear in user-visible text. Updates DyadMarkdownParser to detect and
    drop these tags during preprocessing, parsing, and rendering.
    
    <!-- End of auto-generated description by cubic. -->
    ebcf89ee
DyadMarkdownParser.tsx 10.5 KB