refactor: render reasoning without italics
This commit is contained in:
@@ -91,7 +91,7 @@ def attach_id(item_id: Optional[int], line: str) -> str:
|
|||||||
return f"[{item_id if item_id is not None else '?'}] {line}"
|
return f"[{item_id if item_id is not None else '?'}] {line}"
|
||||||
|
|
||||||
def format_reasoning(text: str) -> str:
|
def format_reasoning(text: str) -> str:
|
||||||
return f"_{text}_"
|
return text
|
||||||
|
|
||||||
|
|
||||||
def format_item_line(etype: str, item: dict[str, Any]) -> str | None:
|
def format_item_line(etype: str, item: dict[str, Any]) -> str | None:
|
||||||
|
|||||||
@@ -28,10 +28,10 @@ def test_render_event_cli_sample_stream() -> None:
|
|||||||
assert out == [
|
assert out == [
|
||||||
"thread started",
|
"thread started",
|
||||||
"turn started",
|
"turn started",
|
||||||
"[0] _**Searching for README files**_",
|
"[0] **Searching for README files**",
|
||||||
"[1] ▸ running: `bash -lc ls`",
|
"[1] ▸ running: `bash -lc ls`",
|
||||||
"[1] ✓ ran: `bash -lc ls` (exit 0)",
|
"[1] ✓ ran: `bash -lc ls` (exit 0)",
|
||||||
"[2] _**Checking repository root for README**_",
|
"[2] **Checking repository root for README**",
|
||||||
"assistant:",
|
"assistant:",
|
||||||
" Yep — there’s a `README.md` in the repository root.",
|
" Yep — there’s a `README.md` in the repository root.",
|
||||||
"turn completed",
|
"turn completed",
|
||||||
|
|||||||
Reference in New Issue
Block a user