mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
922ce030dd
Review pass over the native-interrupt work. The load-bearing fix is the resume envelope: the TypeScript tool read only the shape the Python bridge produces, so a valid time pick came back to the model as "user did not pick a time" and the meeting was never scheduled. Reproduced at the wire on a real model, fixed with a normaliser that accepts both the wrapped and the raw payload, and covered by a unit test that fails when the read is reverted. The Python tool had the mirror-image gap and is fixed and tested the same way. Also in this pass: - Both demo pages read the interrupt payload without throwing during render, and a rejected resume is surfaced instead of leaving a green "Booked" badge. - The e2e specs asserted the pre-pause assistant bubble, so a broken resume passed; they now assert the last bubble, plus a cancel-path narration guard. - Fixture legs that gated on turn number now gate on whether the tool has already answered, matching the reference integration, and two bare D4 keys that shadowed D6 prompts are narrowed. - The reasoning parameter is Responses-API only and the reasoning model id no longer reaches the Anthropic or Bedrock branches. - Stale prose corrected in the parity notes, the setup docs, the shared human-in-the-loop pages, both probe docblocks and the agent server docstring.
4.7 KiB
4.7 KiB