-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
-LAN-
03018823d8
fix(workflow): handle special values for process data consistently
...
- Apply `handle_special_values` to `process_data` in workflow cycle management.
- Improve template processing in `AdvancedPromptTransform` with `VariablePool`.
- Make `system_variables` and `user_inputs` optional in `VariablePool` initialization.
2024-10-14 16:47:03 +08:00
-LAN-
ea18dd1571
feat(api): Enhance multi modal support.
2024-10-14 16:47:03 +08:00
takatost
23ce1fb1ba
chore: optimize the trace ops slow queries on node executions. ( #9282 )
2024-10-12 18:30:46 +08:00
takatost
29188e0562
chore: use cache instead of re-querying node record during workflow execution ( #9280 )
2024-10-12 17:48:59 +08:00
crazywoola
93af87a9e0
fix: move exception to debug mode ( #9258 )
2024-10-12 09:28:45 +08:00
Joe
e947103b6d
Feat/add workflow sys params ( #9108 )
...
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-10-10 11:15:52 +08:00
pinsily
7a1da2409d
add generate conversation name error log ( #9117 )
2024-10-09 21:09:36 +08:00
chenxu9741
c531b4a911
fix : #8843 event: tts_message_end always return in api streaming resp… ( #8846 )
2024-09-29 16:13:20 +08:00
Bowen Liang
a1104ab97e
chore: refurish python code by applying Pylint linter rules ( #8322 )
2024-09-13 22:42:08 +08:00
Bowen Liang
0f14873255
chore: cleanup ruff flake8-simplify linter rules ( #8286 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-09-12 12:55:45 +08:00
Bowen Liang
292220c596
chore: apply pep8-naming rules for naming convention ( #8261 )
2024-09-11 16:40:52 +08:00
takatost
cee0c51dbb
feat: add from_variable_selector for stream chunk / message event ( #8228 )
2024-09-10 22:15:50 +08:00
Bowen Liang
2cf1187b32
chore(api/core): apply ruff reformatting ( #7624 )
2024-09-10 17:00:20 +08:00
takatost
dabfd74622
feat: Parallel Execution of Nodes in Workflows ( #8192 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: Yi <yxiaoisme@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-09-10 15:23:16 +08:00
-LAN-
4f5f27cf2b
refactor(api/core/workflow/enums.py): Rename SystemVariable to SystemVariableKey. ( #7445 )
2024-08-20 17:52:06 +08:00
-LAN-
32dc963556
feat(api/workflow): Add `Conversation.dialogue_count` ( #7275 )
2024-08-15 10:53:05 +08:00
Joe
425174e82f
feat: update ops trace ( #7102 )
2024-08-09 15:22:16 +08:00
Joe
7201b56a6d
fix: workflow log run time error ( #7130 )
2024-08-09 14:46:31 +08:00
Joe
26e46d365c
fix: workflow trace user_id error ( #6932 )
2024-08-04 03:28:50 +08:00
chenxu9741
6ef401a9f0
feat:add tts-streaming config and future ( #5492 )
2024-07-09 11:33:58 +08:00
takatost
0bf4817474
fix: _convert_prompt_message_to_dict parameters err ( #5716 )
2024-06-28 21:00:00 +08:00
Joe
4e2de638af
feat: add ops trace ( #5483 )
...
Co-authored-by: takatost <takatost@gmail.com>
2024-06-26 17:33:29 +08:00
非法操作
b8926ea267
fix: DuckDuckGo image search tool error ( #5606 )
2024-06-26 13:21:40 +08:00
rerorero
9b7fdadce4
fix: wrong token usage in iteration node for streaming result ( #5336 )
2024-06-18 13:08:40 +08:00
-LAN-
b73ec87afc
fix(core/workflow): Handle special values in node run result outputs ( #5321 )
2024-06-17 20:41:57 +08:00
Bowen Liang
f976740b57
improve: mordernizing validation by migrating pydantic from 1.x to 2.x ( #4592 )
2024-06-14 01:05:37 +08:00
takatost
d1dbbc1e33
feat: backend model load balancing support ( #4927 )
2024-06-05 00:13:04 +08:00
Yeuoly
e852a21634
Feat/workflow phase2 ( #4687 )
2024-05-27 22:01:11 +08:00
takatost
34bfb715e1
fix: citations always appear in the chatflow app ( #3844 )
2024-04-25 18:31:38 +08:00
takatost
12f1ce4794
feat: optimize the efficiency of generating chatbot conversation name ( #3472 )
2024-04-14 23:50:24 +08:00
LIU HONGWEI
c227f3d985
feat: Deprecate datetime.utcnow() in favor of datetime.now(timezone.utc).replace(tzinfo=None) for better timezone handling ( #3408 ) ( #3416 )
2024-04-12 16:22:24 +08:00
takatost
7753ba2d37
FEAT: NEW WORKFLOW ENGINE ( #3160 )
...
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: nite-knite <nkCoding@gmail.com>
Co-authored-by: jyong <718720800@qq.com>
2024-04-08 18:51:46 +08:00