dify/api/core/prompt/utils
-LAN- b3fdd618a1 refactor(core): simplify role handling and improve usability
- Replaced explicit string usage with `CreatedByRole` enum for better maintainability.
- Removed duplicate `CreatedByRole` class definition, improving codebase consistency.
- Increased file number limits from 6 to 10 to allow more file uploads.
- Transitioned `AppMode` to a string enum for consistent type usage.
- Refactored `extract_thread_messages` function argument for flexibility.
- Removed file extension limitation in file service to support custom extensions.
- Improved enum import statements across multiple modules for clarity and consistency.
2024-10-15 11:04:28 +08:00
..
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
extract_thread_messages.py refactor(core): simplify role handling and improve usability 2024-10-15 11:04:28 +08:00
prompt_message_util.py chore(api/core): apply ruff reformatting (#7624) 2024-09-10 17:00:20 +08:00
prompt_template_parser.py chore(api/core): apply ruff reformatting (#7624) 2024-09-10 17:00:20 +08:00