Problem
In format_conversations (scripts/telegram_extract.py), when the other person sends several messages consecutively before you reply, only the first is used as the prompt. The rest are silently skipped because i = j jumps past them.
Example
Other: "hey"
Other: "are you free tonight?" ← skipped
Other: "let me know asap" ← skipped
You: "yeah sure"
Only "hey" becomes the prompt, losing context.
Expected behavior
Consecutive messages from the same sender should be concatenated or treated as a single prompt before extracting the response.
Problem
In
format_conversations(scripts/telegram_extract.py), when the other person sends several messages consecutively before you reply, only the first is used as the prompt. The rest are silently skipped becausei = jjumps past them.Example
Only
"hey"becomes the prompt, losing context.Expected behavior
Consecutive messages from the same sender should be concatenated or treated as a single prompt before extracting the response.