Commit Graph

4160 Commits

Author SHA1 Message Date
-LAN-
912e4ca686 Merge branch 'feat/enhance-multi-modal-support' into deploy/dev 2024-10-16 18:29:30 +08:00
-LAN-
8cfdaf8325 refactor(workflow/nodes): unify filtering and ordering under a single node
- Rename ListFilterNode to ListOperatorNode for broader functionality.
- Introduce 'FilterBy' class to consolidate filter conditions.
- Update node mapping and enums to reflect the new naming.
- Revise unit tests to accommodate combined operations in ListOperatorNode.
2024-10-16 17:51:50 +08:00
StyleZhang
b93e6eb698 Merge branch 'feat/attachments' into deploy/dev
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-10-16 17:46:44 +08:00
StyleZhang
e232f4cc87 fix: file extension 2024-10-16 17:46:26 +08:00
-LAN-
f647715a28 refactor(workflow): rename and restructure list filter components
- Renamed `FilterBy` to `FilterCondition` for clarity.
- Moved `models.py` to `entities.py` to better reflect the purpose of the contained classes.
- Updated imports and references across the codebase to align with the renaming and file restructuring.
2024-10-16 17:31:14 +08:00
-LAN-
cdcc0c1a15 refactor(workflow): improve handling of outputs and inputs
- Use empty dictionaries instead of None for default outputs and inputs.
- Replace manual json loads with dedicated getter methods for inputs and outputs.
- Ensure type hints for converted input and output dictionaries.
- Improve code readability and reduce potential null errors.
2024-10-16 17:28:02 +08:00
Joe
d00b570ddc Merge branch 'feat/new-login' into deploy/dev
* feat/new-login:
  feat: update invite member
2024-10-16 17:16:30 +08:00
Joe
f4bd4653e9 feat: update invite member 2024-10-16 17:06:01 +08:00
Joe
99a26768fd Merge branch 'feat/new-login' into deploy/dev
* feat/new-login:
  fix: logout account AnonymousUserMixin
  fix: not allow create workspace resp
2024-10-16 16:54:22 +08:00
Yi
03d704ea5a Merge branch 'fix/rerank-validation-in-run' into deploy/dev 2024-10-16 16:47:49 +08:00
Yi
47c9595a0e fix: rerank validation fix from frontend 2024-10-16 16:35:43 +08:00
Joe
2cdb2eba5b fix: logout account AnonymousUserMixin 2024-10-16 16:34:49 +08:00
-LAN-
f91a80b489 Merge branch 'feat/enhance-multi-modal-support' into deploy/dev 2024-10-16 14:35:21 +08:00
-LAN-
fd35e32265 refactor(http_executor): improve HTTP request logging format
- Utilize `urlparse` to separate URL components for a cleaner format.
- Ensure query parameters in URLs are accurately appended.
- Add `Host` header and consistent CRLF line endings for HTTP compliance.
- Simplify body content generation and calculate `Content-Length` for logs.
2024-10-16 14:34:47 +08:00
Joe
2738b557d4 fix: not allow create workspace resp 2024-10-16 13:35:39 +08:00
Joe
f0e08e78a5 Merge branch 'feat/new-login' into deploy/dev
* feat/new-login:
  feat: update reset password template
  feat: update email template
  feat: update EmailPasswordLoginLimitError
2024-10-16 10:11:15 +08:00
Joe
38c5a579c3 feat: update reset password template 2024-10-16 10:10:54 +08:00
Joe
808e8e0b13 feat: update email template 2024-10-15 17:08:23 +08:00
NFish
5487fd9651 Merge branch 'feat/auth-methods' into deploy/dev
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-10-15 16:38:41 +08:00
NFish
344662fcb9 fix: display message if no auth methods are enabled 2024-10-15 16:21:43 +08:00
NFish
c0d757c2ac fix: show the reset password button when email and password login is enabled 2024-10-15 16:09:33 +08:00
NFish
9f3147d9fb feat: add show/hide supports for all password input 2024-10-15 15:58:18 +08:00
-LAN-
3483a21772 Merge branch 'feat/enhance-multi-modal-support' into deploy/dev 2024-10-15 15:35:03 +08:00
-LAN-
a36ef8430e refactor(core): improve type annotations and file handling consistency
- Use more precise type annotations with Sequence and Mapping for task entities.
- Ensure raw_prompt is assigned properly after replacement in advanced prompt transform.
- Remove unused generator return type from _fetch_context method.
- Refactor tool node file handling to retrieve more comprehensive file attributes, ensuring file existence validation in the database.
2024-10-15 15:34:14 +08:00
Joe
b105998fe9 feat: update EmailPasswordLoginLimitError 2024-10-15 15:25:20 +08:00
NFish
d2a6139b3b Merge branch 'feat/auth-methods' into deploy/dev 2024-10-15 15:16:16 +08:00
NFish
d3fbe1077a fix: tooltip error while password invalid 2024-10-15 15:15:53 +08:00
NFish
f9891b937f style: show underline on link hover 2024-10-15 15:02:17 +08:00
NFish
f66dacbedb Merge branch 'feat/auth-methods' into deploy/dev 2024-10-15 14:37:54 +08:00
NFish
5473efaf9f fix: add show/hide control for password inputs at sign-in and set-password page 2024-10-15 14:36:40 +08:00
NFish
8c65050339 fix: validate password before login 2024-10-15 14:24:50 +08:00
Joe
fb46131a26 Merge: new-login into dev 2024-10-15 14:21:54 +08:00
NFish
f9047c4352 Merge branch 'feat/auth-methods' into deploy/dev 2024-10-15 14:06:01 +08:00
NFish
1e11c6436e fix: update the set-password Page's translate;fix: the email & code login supports access_token & refresh_token 2024-10-15 14:05:43 +08:00
Joe
fd23e63522 feat: update login language;
feat: update PasswordResetRateLimitExceededError;
2024-10-15 14:03:06 +08:00
NFish
f557a67556 fix: add the 'language' param to the login API 2024-10-15 13:48:43 +08:00
zhuhao
cd7ab6231f
refactor: Add an enumeration type and use the factory pattern to obtain the corresponding class (#9356) 2024-10-15 12:51:13 +08:00
-LAN-
dba67cd87a fix(memory): filter non-image file types in prompt message content
- Skip non-image files when converting file objects to prompt message content.
- Ensures only image files are processed, improving the accuracy and relevance of prompt messages.
2024-10-15 12:01:00 +08:00
NFish
a05f249b61 Merge branch 'feat/auth-methods' into deploy/dev 2024-10-15 11:55:21 +08:00
NFish
7f9278e676 fix: save access_token & refresh_token throw an error when set invite info 2024-10-15 11:55:00 +08:00
Joel
0f0326c1fa Merge branch 'feat/attachments' into deploy/dev 2024-10-15 11:21:06 +08:00
Joel
ff7a467a1a fix: iteration not support file item 2024-10-15 11:20:52 +08:00
-LAN-
8e023d60e8 Merge branch 'feat/enhance-multi-modal-support' into deploy/dev 2024-10-15 11:05:12 +08:00
-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
StyleZhang
703789c70d Merge branch 'feat/attachments' into deploy/dev 2024-10-15 10:53:44 +08:00
StyleZhang
81e57bcc73 fix: remove image item 2024-10-15 10:53:27 +08:00
ice yao
5908fd6552
Adapt input type parameter with MiniMax embedding model (#9342)
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-10-15 09:01:00 +08:00
omr
6d2c6caa23
refactor: remove unnecessary 'closing' usage for boto3 client (#9343) 2024-10-15 08:42:39 +08:00
Bowen Liang
5eb00502ec
chore: clean-up unnecessary annotation on configs with non-null default value (#9323)
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-10-14 23:47:58 +08:00
ice yao
3f9d6759d4
feat: Add qwen2.5 72B Instruct model in Fireworks AI (#9340) 2024-10-14 23:15:34 +08:00