Built-in agent: robust UI copy edits (logo/top-left, replace A with B) + prompt page-text map #6
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/copy-edits"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the live bug where 'replace agent market to new internet on the top left corner' did nothing useful (the built-in agent answered because the free quota is used up).
Root cause
logo|site name|brand to X, with no 'replace A with B', no 'top left/header' and no find-and-replace.copy.logobut never said the logo is the top-left brand text, and didn't show the current page text, so a model couldn't match 'agent market' to the logo.Fix
market/copyedit.py, which runs before presets and style rules:event: sellsurvives sanitising.PAGE_TEXTwith the visitor's current copy.Tests