mirror of
https://github.com/escalante29/WealthySmart.git
synced 2026-07-17 08:08:48 +02:00
0d0d60600d2ab85946b586db38d915f4710a41cc
The connect intercept only matched POST …/connect, but CopilotKit talks
to the runtime in single-route mode: everything POSTs to
/api/copilotkit with the operation in the body envelope
({method:"agent/connect"}). So the in-memory runner kept replaying the
BFF process's full event history on every CopilotChat mount — every
conversation since server start, across clears — which is exactly the
stacked resurrected conversations seen in prod after navigating away
and back. Now both transports get the immediately-completed stream.
Verified with the reported repro: three conversations with clears
between, navigate away and back → only the third remains; reload
hydration unaffected.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
WealthySmart
A financial management application
Description
Languages
TypeScript
65.2%
Python
33.3%
CSS
0.6%
Shell
0.4%
Dockerfile
0.2%
Other
0.1%