Replies: 3 comments 6 replies
-
This IndexError is caused by a mismatch between the internal data structures for messages and references in a conversation session. When a session is created or updated via the web UI, the structure of the To work around this, ensure that sessions are created and managed consistently through the same interface (either all via API or all via the web UI). If you encounter the error, deleting problematic sessions and recreating them via the API can resolve it in the short term. For a more robust fix, the codebase needs better schema normalization and error handling to keep the To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
@chaijl could you share screenshots or logs so we can better troubleshooting? |
Beta Was this translation helpful? Give feedback.
-
Which RAGFlow version and sdk version are you using? @chaijl |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
During use, I found that if I create an assistant directly on a webpage and have a conversation chat, there are no problems on the webpage side. However, when I call the session message through the HTTP API, I will return an IndexError ('list index out of range '). But if I create a session through the HTTP API, it is normal to use the API. However, if I chat again on the original session using a webpage and then call the session message through the API, the same error will be reported again. This was not an issue in the previous version. How should I handle this?
Beta Was this translation helpful? Give feedback.
All reactions