mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-28 11:17:35 +08:00
Clone the few request-view strings that outlive the handler instead of aliasing the request body, drop the converted Responses input once it is marshaled, and avoid pointing usage logs at the forward input. Async prompt audit checks its scope before copying the body and no longer clones twice, splits and trims prompts without full []rune copies, and skips redaction rewrites that cannot match. Co-authored-by: Cursor <cursoragent@cursor.com>