dify/api/models
-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(api): Enhance multi modal support. 2024-10-14 16:47:03 +08:00
account.py chore(api/models): apply ruff reformatting (#7600) 2024-09-10 17:08:06 +08:00
api_based_extension.py chore(api/models): apply ruff reformatting (#7600) 2024-09-10 17:08:06 +08:00
dataset.py external knowledge api (#8913) 2024-09-30 15:38:43 +08:00
model.py refactor(core): simplify role handling and improve usability 2024-10-15 11:04:28 +08:00
provider.py chore: apply ruff E501 line-too-long linter rule (#8275) 2024-09-12 14:00:36 +08:00
source.py chore(api/models): apply ruff reformatting (#7600) 2024-09-10 17:08:06 +08:00
task.py chore(api/models): apply ruff reformatting (#7600) 2024-09-10 17:08:06 +08:00
tool.py chore(api/models): apply ruff reformatting (#7600) 2024-09-10 17:08:06 +08:00
tools.py feat(api): Enhance multi modal support. 2024-10-14 16:47:03 +08:00
types.py chore(api/models): apply ruff reformatting (#7600) 2024-09-10 17:08:06 +08:00
web.py chore(api/models): apply ruff reformatting (#7600) 2024-09-10 17:08:06 +08:00
workflow.py refactor(core): simplify role handling and improve usability 2024-10-15 11:04:28 +08:00