Skip to content

(expressive mode): remove unconditional bracket stripping - #6590

Merged
tinalenguyen merged 4 commits into
mainfrom
tina/resolve-bracket-stripping
Jul 30, 2026
Merged

tinalenguyen merged 4 commits into
mainfrom
tina/resolve-bracket-stripping

Conversation

@tinalenguyen

@tinalenguyen tinalenguyen commented Jul 28, 2026 •

Copy link
Copy Markdown
Member

also removes brackets for tts aligned transcripts, for providers like inworld that include them in their timed transcripts

@tinalenguyen
tinalenguyen requested a review from a team as a code owner July 28, 2026 20:08

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@tinalenguyen tinalenguyen changed the title (expresive mode): remove unconditional bracket stripping (expressive mode): remove unconditional bracket stripping Jul 28, 2026
@tinalenguyen
tinalenguyen merged commit 91c0367 into main Jul 30, 2026
24 checks passed
@tinalenguyen
tinalenguyen deleted the tina/resolve-bracket-stripping branch July 30, 2026 17:11
tinalenguyen added a commit that referenced this pull request Aug 4, 2026
Resolve four conflicts caused by two deliberate main-side reversals:
bracket stripping (#6590) and prompt presets (#6406, #6632).

Took main's design on both, preserving this branch's vanish_trail
trailing-space fix:

- markup_utils.py: main's XML-only extract_and_strip(text, *, xml_tags),
  dropping the branch's brackets= param; kept vanish_trail and the
  (?P<trail>[ \t]*) capture.
- _provider_format.py: dropped the now-dead Instructions import (main
  removed the preset blocks using it); kept main's TimedString.
  _has_open_tag uses main's semantics (no bracket hold) via the branch's
  more precise _open_tag_fragment.
- tests: main's split_all_markup / _strip helpers with the branch's
  single-space expectations; updated MIXED_CLEAN and
  test_square_brackets_are_never_markup, which hard-coded the leftover
  spaces this branch removes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants