ragflow/api
Stephen Hu deb2faf7aa
Fix:Fail to get list_sessions (#7678)
### What problem does this PR solve?

Close #7655

Based on the codes atthe api_app, I think the reference is one-to-one
with the message
`
    def fillin_conv(ans):
        nonlocal conv, message_id
        if not conv.reference:
            conv.reference.append(ans["reference"])
        else:
            conv.reference[-1] = ans["reference"]
conv.message[-1] = {"role": "assistant", "content": ans["answer"], "id":
message_id}
        ans["id"] = message_id
`



### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-05-16 10:58:28 +08:00
..
apps Fix:Fail to get list_sessions (#7678) 2025-05-16 10:58:28 +08:00
db Fix: file name length limit mismtach (#7630) 2025-05-14 10:13:03 +08:00
utils Refa: HTTP API delete dataset / test cases / docs (#7657) 2025-05-16 10:16:43 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
constants.py Add more web test cases (#3702) 2024-11-28 15:46:35 +08:00
ragflow_server.py Fix update_progress issue (#6992) 2025-04-14 10:23:13 +08:00
settings.py refa: Optimize create dataset validation (#7451) 2025-05-06 17:38:06 +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