You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/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.
1 year ago
..
__init__.py feat(api): Enhance multi modal support. 1 year ago
account.py chore(api/models): apply ruff reformatting (#7600) 1 year ago
api_based_extension.py chore(api/models): apply ruff reformatting (#7600) 1 year ago
dataset.py external knowledge api (#8913) 1 year ago
model.py refactor(core): simplify role handling and improve usability 1 year ago
provider.py chore: apply ruff E501 line-too-long linter rule (#8275) 1 year ago
source.py chore(api/models): apply ruff reformatting (#7600) 1 year ago
task.py chore(api/models): apply ruff reformatting (#7600) 1 year ago
tool.py chore(api/models): apply ruff reformatting (#7600) 1 year ago
tools.py feat(api): Enhance multi modal support. 1 year ago
types.py chore(api/models): apply ruff reformatting (#7600) 1 year ago
web.py chore(api/models): apply ruff reformatting (#7600) 1 year ago
workflow.py refactor(core): simplify role handling and improve usability 1 year ago