janhq / jan

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer. Multiple engine support (llama.cpp, TensorRT-LLM)
https://jan.ai/
GNU Affero General Public License v3.0
23.74k stars 1.38k forks source link

bug: editing a user’s message shouldn’t send follow-up messages #4086

Open imtuyethan opened 4 days ago

imtuyethan commented 4 days ago

Jan version

0.5.8-734

Describe the Bug

When editing user messages, system sends all previous messages again instead of just the edited one.

Screenshot 2024-11-21 at 11 56 37 PM

Steps to Reproduce

  1. Send initial message
  2. Get AI response
  3. Edit original message
  4. Observe network traffic showing entire message history resent
imtuyethan commented 4 days ago

I can't reproduce this one on my end btw