Skip to content

docs: clarify parse_session is a single pass - #10

Closed
slegarraga wants to merge 1 commit into
AgentPostmortem:mainfrom
slegarraga:main
Closed

docs: clarify parse_session is a single pass#10
slegarraga wants to merge 1 commit into
AgentPostmortem:mainfrom
slegarraga:main

Conversation

@slegarraga

Copy link
Copy Markdown

Closes #4.

Updates the parse_session docstring and the README design note to describe the implementation accurately: one pass over the transcript, collecting tool_use and tool_result blocks into two maps keyed by tool_use_id, then joining them.

Validated with pytest (17 passed).

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.

Docs: parse_session does one pass over the transcript, not two

2 participants