Skip to content

Commit b33fd80

Browse files
committed
fix: clarify mixed-content test comment per review
1 parent daacc85 commit b33fd80

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_hooks_cli.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ def test_count_mixed_content_not_skipped(tmp_path):
144144
{
145145
"message": {
146146
"role": "user",
147+
# Mixed content: a tool_result block alongside a text block.
148+
# The text block means a human actually typed something, so
149+
# this message should still count as a human exchange.
147150
"content": [
148151
{"type": "tool_result", "tool_use_id": "tu_1", "content": "ok"},
149152
{"type": "text", "text": "and here is my follow-up"},

0 commit comments

Comments
 (0)