mirror of
https://github.com/langgenius/dify.git
synced 2026-02-23 03:17:57 +08:00
in api/core/rag/retrieval/dataset\_retrieval.py#L763 we pass a user\_from to created\_by\_role. In this way, we should use the UserFrom enum, but in fact, we should use CreatorUserRole here. So this is a naming mistake for the parameter, and we should change all the upstream parameter names to the correct values along its propagation path.