mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Normalize whitespace-only lines in agent messages (#34772)
## What changed Apply the existing whitespace-only line normalization to both streaming and finalized agent Markdown. Blank lines now discard indentation and stale hyperlinks while preserving their line style. GitOrigin-RevId: f6150190b02f8cd8c853220cae1a2dcd2f4578a5
This commit is contained in:
1 parent
9ee63da142
commit
c00e2e851c
6 files changed
+33
-26
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ expression: "rendered.lines.iter().map(rendered_line_text).collect::<Vec<_>>().j
|
||||
latest user question
|
||||
|
||||
• Final answer:
|
||||
|
||||
|
||||
Pattern Outcome
|
||||
━━━━━━━━━━━━ ━━━━━━━━━━━
|
||||
Table tail Preserved
|
||||
+1
-1
@@ -5,7 +5,7 @@ expression: "rendered.lines.iter().map(rendered_line_text).collect::<Vec<_>>().j
|
||||
latest user question
|
||||
|
||||
• Final answer:
|
||||
|
||||
|
||||
Pattern Outcome
|
||||
━━━━━━━━━━━━ ━━━━━━━━━━━
|
||||
Table tail Preserved
|
||||
Reference in new issue
Block a user