StyleZhang
1397c782d4
merge feat/attachment
2024-10-17 15:31:32 +08:00
-LAN-
ebec4fef0c
Merge branch 'feat/enhance-multi-modal-support' into deploy/dev
2024-10-17 13:30:41 +08:00
-LAN-
760b18fe26
chore(poetry.lock): update content hash for dependency resolution
2024-10-17 13:30:26 +08:00
-LAN-
7d88218a8b
Merge branch 'feat/enhance-multi-modal-support' into deploy/dev
2024-10-17 13:24:24 +08:00
-LAN-
b10a599cc8
feat(podcast_audio_generator): improve audio generation workflow
...
- Replace custom silent MP3 generation with pydub library for silent WAV data.
- Adjust silence duration between audio segments for a more seamless playback.
- Export combined audio as WAV format in memory for better audio quality.
- Update dependencies to include pydub for enhanced audio manipulation.
2024-10-17 13:23:55 +08:00
-LAN-
13ad040b36
Merge branch 'feat/enhance-multi-modal-support' into deploy/dev
2024-10-17 12:03:00 +08:00
ybalbert001
fdcf87c70c
fix https://github.com/langgenius/dify/issues/9409 ( #9433 )
...
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2024-10-17 10:47:56 +08:00
Jyong
5aabb83f5a
update dataset clean rule ( #9426 )
2024-10-17 10:40:22 +08:00
Jyong
bd678f9ca1
add clean 7 days datasets ( #9424 )
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 22:24:50 +08:00
-LAN-
46ea94b8ee
chore(version): Sync version with main.
2024-10-16 19:48:53 +08:00
-LAN-
a28e2341da
Merge branch 'feat/enhance-multi-modal-support' into deploy/dev
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 19:28:21 +08:00
-LAN-
8d424c8222
refactor(tool_node): simplify tool_file_id assignment
...
- Remove redundant condition by directly assigning tool_file_id.
- Assume URL structure provides necessary file identifier.
2024-10-16 19:28:04 +08:00
-LAN-
f8cf3304df
fix(file-serving): adjust content disposition header for images
...
- Set content disposition to 'inline' for image files to allow direct viewing in browsers.
- Maintain 'attachment' disposition for other file types to prompt download.
2024-10-16 19:27:50 +08:00
-LAN-
739919556d
Merge branch 'feat/enhance-multi-modal-support' into deploy/dev
2024-10-16 18:39:17 +08:00
-LAN-
1529fe3b01
refactor(api): enhance file streaming response handling
...
- Split returned variables in `get_file_generator_by_tool_file_id` for improved clarity.
- Revised response construction to directly use file stream and include headers for content length.
- Removed unnecessary type hint that restricted flexibility.
2024-10-16 18:39:02 +08:00
-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
-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
Joe
2cdb2eba5b
fix: logout account AnonymousUserMixin
2024-10-16 16:34:49 +08:00
zhuhao
86594851cb
refactor: update the default values of top-k parameter in vdb to be consistent ( #9367 )
2024-10-16 16:00:21 +08:00
Jyong
50635e9c15
Fix/economical knowledge retrieval ( #9396 )
2024-10-16 15:13:45 +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
zhuhao
7d3dad3d1d
feat: add timezone conversion for time tool ( #9393 )
2024-10-16 11:17:40 +08:00
ice yao
dd22e78515
fix: Deprecated gemma2-9b model in Fireworks AI Provider ( #9373 )
2024-10-16 10:44:54 +08:00
crazywoola
423df67042
fix: use gpt-4o-mini for validating credentials ( #9387 )
2024-10-16 10:18:06 +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
ice yao
568d5c46ed
feat: Enable baiduvector intergration test ( #9369 )
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 09:41:28 +08:00
非法操作
da25b91980
fix: remove the stream option of zhipu and gemini ( #9319 )
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
Mark stale issues and pull requests / stale (push) Has been cancelled
2024-10-15 19:13:43 +08:00
Jason Tan
9b8aa9b75d
feat: add minimax abab6.5t support ( #9365 )
2024-10-15 19:00:05 +08:00
非法操作
4ffaabcc04
feat: add glm-4-flashx, deprecated chatglm_turbo ( #9357 )
2024-10-15 17:33:34 +08:00
Joe
808e8e0b13
feat: update email template
2024-10-15 17:08:23 +08:00
Warren Wong
b597a0d31c
fix: Azure OpenAI o1 max_completion_token and get_num_token_from_messages error ( #9326 )
...
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
Co-authored-by: wwwc <wwwc@outlook.com>
2024-10-15 16:26:44 +08:00
Wei-shun Bao
fb32e5ca9a
fix: In the output, the order of 'ta' is sometimes reversed as 'at'. #8015 ( #8791 )
2024-10-15 16:24:29 +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
Joe
fb46131a26
Merge: new-login into dev
2024-10-15 14:21:54 +08:00
Joe
fd23e63522
feat: update login language;
...
feat: update PasswordResetRateLimitExceededError;
2024-10-15 14:03:06 +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
-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