ragflow/api/apps/sdk
sinopec 98a83543e8
Fix: fix mismatch of assitant message and its reference (#9233)
### 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>
2025-08-05 14:32:39 +08:00
..
agent.py Feat: Add http api to create, update, or delete agents. (#7515) 2025-05-12 17:59:53 +08:00
chat.py Feature: Support set chats kbs to empty (#9038) 2025-07-25 10:06:33 +08:00
dataset.py Fix:When deleting a knowledge base that is currently performing a parsing task, the parsing queue will not be deleted! (#9018) 2025-07-28 17:32:12 +08:00
dify_retrieval.py Fix: self-deployed LLM error, (#9217) 2025-08-05 09:49:47 +08:00
doc.py Feat: list documents supports range filtering (#9214) 2025-08-04 16:35:35 +08:00
files.py Feat: Add file management HTTP_API (#8395) 2025-07-01 09:51:53 +08:00
session.py Fix: fix mismatch of assitant message and its reference (#9233) 2025-08-05 14:32:39 +08:00