Commit 4454819
fix(backend): address PR review — drop debug print, mirror intent onto Chat
Removes a leftover debug print in process_message that flooded logs with
every Redis stream payload (potentially exposing user prompts).
Also restores the pre-PR behavior where Chat.chat_intent tracks the latest
message's intent. _resolve_chat_intent now mirrors the persisted intent
onto chat_message.chat as well, so the PastConversations badge (which
reads chat.chat_intent_name from ChatSerializer) populates correctly for
chats created after this PR.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 360f4f0 commit 4454819
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
96 | | - | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
0 commit comments