Under the hood
The code that replaces thinking blocks with a "[Thinking removed]" placeholder was reorganized into named helper functions
What
The internal logic that strips out thinking blocks, redacted-thinking blocks, and empty text blocks, replacing them with a "[Thinking removed]" placeholder, was restructured from an inline filter into two separate named helper functions: one that decides whether a block should be stripped, and one that builds the placeholder block itself.
Why
This is an internal code-organization change with no described effect on behavior; the placeholder still appears the same way when thinking content is removed.