mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
b8349d2067
## Summary - `copilotkit_interrupt` now handles string and dict resume values from LangGraph 1.x's `interrupt()` - Previously crashed with `AttributeError: 'str' object has no attribute 'content'` or `KeyError: -1` - Type-checks response: str returned directly, dict JSON-serialized, list uses existing `[-1].content` path ## Test plan - [x] Red-green test: string resume value returns without crash - [x] Red-green test: dict resume value returns JSON string - [x] Test: list resume value still works (existing behavior) - [x] Full test suite passes (15/15) Closes #3096
16 KiB
16 KiB