mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-11-24 05:56:36 +00:00
### What problem does this PR solve? #9232 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) 1. When creating a new session, initialize an empty reference that includes both the app api and sdk API. 2. Fix the logic when retrieving references for historical messages: the number of dialogue messages and reference messages may differ, but it should match the number of assistant messages. Co-authored-by: Li Ye <liye@unittec.com>