ragflow/api
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
..
apps Fix: fix mismatch of assitant message and its reference (#9233) 2025-08-05 14:32:39 +08:00
db Fix: self-deployed LLM error, (#9217) 2025-08-05 09:49:47 +08:00
utils Refactor: support config strong test (#9198) 2025-08-04 13:54:18 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
constants.py Refa: Implement centralized file name length limit using FILE_NAME_LEN_LIMIT constant (#8318) 2025-06-17 18:01:30 +08:00
ragflow_server.py Refa: change mcp_client module to rag/utils/conn (#8578) 2025-07-01 09:29:19 +08:00
settings.py Refactor: support config strong test (#9198) 2025-08-04 13:54:18 +08:00
validation.py Fix errors detected by Ruff (#3918) 2024-12-08 14:21:12 +08:00
versions.py Fix VERSION 2024-12-07 16:56:34 +08:00