mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
2c32b48dda
## Summary - Fix TOOL_CALL_RESULT events reusing parent assistant message ID across StreamingToolAgent, SharedStateReadWriteController, and SubagentsController — React's deduplicateMessages() Map overwrote assistant messages with tool messages when they shared the same ID - Add `data-testid="copilot-assistant-message"` to BYOC hashbrown renderer so the D5 test harness can detect assistant messages - Register AG-UI Jackson mixins via JacksonConfig postConfigurer, normalize array-format content via ContentNormalizingModule, remove ChatMemory beans that interfered with aimock fixture matching, inject Spring-managed ObjectMapper into AgentConfigController ## Test plan - [x] All 28/28 spring-ai D5 features pass locally (verified stable across multiple consecutive runs) - [x] Docker build succeeds - [x] No regressions — previously passing 22 features remain green