Commit cb26abf
committed
fix(telegram): use body-only dedup key for conversation context
The dedup key was `timestamp_ms:body` which fails when the same
assistant reply appears in both the session transcript and the
Telegram message cache with slightly different timestamps.
Using body-only dedup prevents duplicate entries in the
conversation context passed to the model.1 parent f535b2a commit cb26abf
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
| 193 | + | |
197 | 194 | | |
198 | 195 | | |
199 | 196 | | |
| |||
0 commit comments