You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(claude-code): address Greptile review (num_llm_calls, dead code, session_id)
- TurnUsage.num_llm_calls is now Optional and defaults to None: it is
provider-reported (from claude-code's num_turns) and may be absent, so None
("not reported") is distinct from a real 0. claude_code_usage_to_turn_usage
returns None when num_turns is missing (real zeros still preserved). Counted
fields (num_tool_calls / num_reasoning_blocks) stay int=0.
- Removed a dead `full_text` assignment in the thinking content_block_stop path.
- Added a public ClaudeCodeTurn.session_id accessor (mirrors CodexTurn) so the
temporal activity no longer reaches into the private _result_envelope.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments