mirror of
https://github.com/langgenius/dify.git
synced 2026-05-11 06:37:13 +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. |
||
|---|---|---|
| .. | ||
| output_parser | ||
| router | ||
| __init__.py | ||
| dataset_retrieval.py | ||
| retrieval_methods.py | ||
| template_prompts.py | ||