mirror of
https://github.com/escalante29/WealthySmart.git
synced 2026-07-17 09:08:46 +02:00
- Asistente.tsx pins threadId "main" on CopilotChat (an explicit stable id stops the per-mount message wipe), runs a hydration pass on page load — an empty-messages run makes MAF replay the stored snapshot as MESSAGES_SNAPSHOT with no LLM call — and sends the Inicio ask-box question only after hydration so every normal run carries the full client-known history. "Nueva conversación" clears the stored thread behind a ConfirmDialog. - server.ts: the BFF no longer injects context into empty-messages requests (that would defeat MAF's hydration trigger), and the snapshot reconciliation passes hydration replays through untouched and treats ids the client already sent as history rather than duplicates. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>