mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-26 00:00:54 +00:00
Three tests covering the CC→Responses→Anthropic finalize path: - TestStreamingParallelToolUseNoGhostDelta: full end-to-end with two parallel tool_calls, asserts every content_block_delta targets a started block - TestStreamingParallelToolUseSecondToolPackedArgsDone: focused test where tool 1 streams deltas and tool 2 has packed .done args - TestStreamingThreeParallelToolsAllPackedDone: three tools all with packed .done, the most extreme case All three fail on unfixed code (ghost deltas on wrong indices) and pass after the fix.