mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
6a7f1187f7
scripts/self-learning-smoke.mjs proves the banking demo's recording seam end-to-end against a running Intelligence backend: posts four teaching actions through the demo BFF /api/copilotkit/annotate (the platform requires UUID clientEventIds), optionally runs one sl-worker sweep when INTELLIGENCE_REPO is set, and asserts the distilled vendor policy reads back through the platform /mcp knowledge tool. Wired as the test:self-learning package script and documented in the README. Verified live: PASS 6/6 against Intelligence @ mme/learn-from-user-activity (records as rows 13-16, sweep editCount=0 steady-state, recall returns the pre-cleared vendor policy).
1.8 KiB
1.8 KiB