Commit Graph

442 Commits

Author SHA1 Message Date
Yeuoly
39656f7f84 fix: linter and formatter 2024-12-24 18:38:34 +08:00
yihong
6a0ff3686c
fix: fix typo (#12034)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-12-24 15:23:27 +08:00
zxhlyh
ec6f4ee9df Merge branch 'main' into feat/plugins 2024-12-24 11:35:47 +08:00
yihong
e0f1410b48
fix: issue Multiple Paths Between IF/ELSE Branches (#11646)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-12-23 18:56:59 +08:00
-LAN-
c3c85276d1
Fix/refactor invoke result handling in question classifier node (#12015)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-23 17:54:08 +08:00
-LAN-
d0dd8b7955
fix: add UUID validation for tool file ID extraction (#12011)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-23 17:53:42 +08:00
-LAN-
75bce2822e
fix: add logging for missing edge mapping in StreamProcessor (#12008)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-23 17:53:36 +08:00
Novice
dc19cd5d9d
fix: add retry feature to code node (#12005)
Co-authored-by: Novice Lee <novicelee@NoviPro.local>
2024-12-23 16:42:28 +08:00
-LAN-
e068bbec73
feat: add RequestBodyError for invalid request body handling (#11994)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-23 15:53:03 +08:00
-LAN-
9cfd1c67b6
fix: Introduce ArrayVariable and update iteration node to handle it (#12001)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-23 15:52:50 +08:00
Joel
c3f3b79b79 merge main 2024-12-23 15:33:08 +08:00
yihong
70dd69d533
fix: Multiple Paths Between IF/ELSE Branches Invalidate Conditions (#11544)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-12-23 15:09:02 +08:00
Novice
c1aa55f3ea
fix: remove the unused retry index field (#11903)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Novice Lee <novicelee@NoviPro.local>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-12-23 14:32:11 +08:00
JasonVV
4b1e13e982
Fix 11979 (#11984) 2024-12-23 14:30:04 +08:00
-LAN-
03ddee3663
fix(variable_assigner): change VariableOperatorNodeError to inherit from ValueError (#11951)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-22 10:43:40 +08:00
-LAN-
21a31d7f8b
fix(base_node): change BaseNodeError exception type from Exception to ValueError (#11952)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-22 10:42:30 +08:00
-LAN-
2c4df108e5
fix: raise http request node error on httpx.request error (#11954)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-22 10:41:53 +08:00
-LAN-
a056a9d601
feat(code_node): add more check (#11949)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-22 10:40:43 +08:00
-LAN-
a227af3664
fix(code_node): update type hints for string and number checks in Cod… (#11936)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-21 21:24:22 +08:00
-LAN-
c07d9e96ce
fix(nodes): handle errors in question_classifier and parameter_extractor (#11927)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-21 21:21:57 +08:00
yihong
ac635c70cd
fix: doc can not extract tables (#11879)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: akinobu-i <akinobu-i@users.noreply.github.com>
2024-12-20 17:19:46 +08:00
-LAN-
dacd457478
feat: add workflow parallel depth limit configuration (#11460)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
2024-12-20 14:52:20 +08:00
yihong
7b03a0316d
fix: better memory usage from 800+ to 500+ (#11796)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-12-20 14:51:43 +08:00
Novice
7abc7fa573
Feat: Retry on node execution errors (#11871)
Co-authored-by: Novice Lee <novicelee@NoviPro.local>
2024-12-20 14:14:06 +08:00
-LAN-
996a9135f6
feat(llm_node): support order in text and files (#11837)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-20 14:12:50 +08:00
stardust
44104797d6
fix: Enhance file type detection in HTTP Request node (#11797)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: 谭成 <tancheng.sh@chinatelecom.cn>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-12-20 02:21:41 +08:00
-LAN-
62b9e5a6f9
feat(knowledge_retrieval_node): Suppress exceptions thrown by DatasetRetrieval (#11728)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-17 13:12:29 +08:00
-LAN-
92a840f1b2
feat(tool_node): Suppress exceptions thrown by the Tool (#11724)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-17 12:11:50 +08:00
zxhlyh
04054954c5 Merge branch 'main' into feat/plugins 2024-12-16 17:55:52 +08:00
Yeuoly
fd02c60498
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-16 14:29:05 +08:00
Yeuoly
75fe785d88
Merge branch 'main' into fix/chore-fix 2024-12-16 14:08:18 +08:00
Kazuhisa Wada
63f1dd7877
Make max_submit_count configurable via Config (#11673) 2024-12-16 12:59:37 +08:00
JzoNg
171cc88a0d merge main 2024-12-16 11:09:13 +08:00
非法操作
9c7a1bc067
fix: change http node params from dict to list tuple (#11665) 2024-12-15 21:27:39 +08:00
Yeuoly
fa03ba23bb
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-15 18:12:43 +08:00
Yeuoly
93c3699128
feat: add label to agent log 2024-12-15 18:12:29 +08:00
Yeuoly
3dd6d96b5a
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-13 19:51:28 +08:00
Yeuoly
6339706c68
fix: ruff reformatter 2024-12-13 19:51:09 +08:00
Yeuoly
65a4cb769b
refactor: tool entities 2024-12-13 19:50:54 +08:00
Yeuoly
11c4bf5574
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-13 00:06:09 +08:00
Yeuoly
63206a7967
fix: incorrect use of node execution id 2024-12-13 00:05:57 +08:00
Yeuoly
4cbaa6b77d
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-12 23:46:58 +08:00
Yeuoly
9a6f120e5c
feat: support agent log event 2024-12-12 23:46:26 +08:00
Yeuoly
8278c8a27e
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-12 18:27:58 +08:00
Yeuoly
3c628d0c26
refactor: rename agent to agent strategy 2024-12-12 18:27:31 +08:00
Novice
1765fe2a29
fix: iteration node in parallel mode token count error (#11539)
Co-authored-by: Novice Lee <novicelee@NoviPro.local>
2024-12-11 14:23:01 +08:00
Novice
79a710ce98
Feat: continue on error (#11458)
Co-authored-by: Novice Lee <novicelee@NovicedeMacBook-Pro.local>
Co-authored-by: Novice Lee <novicelee@NoviPro.local>
2024-12-11 14:22:42 +08:00
yihong
716576043d
fix: issue 11247 that Completion mode content maybe list or str (#11504)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-12-10 23:22:14 +08:00
Yeuoly
6868ee5431
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-10 00:23:08 +08:00
Yeuoly
a175d6b2d7
feat: agent management 2024-12-10 00:22:41 +08:00
Yeuoly
054b59c702
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-09 23:26:38 +08:00
Yeuoly
296fd82bbf
fix: agent node 2024-12-09 23:26:16 +08:00
Yeuoly
ff81d12426
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-09 23:02:50 +08:00
Yeuoly
4ccd571364
fix: ruff 2024-12-09 23:02:25 +08:00
Yeuoly
ae72514cb4
feat: support agent node 2024-12-09 23:02:11 +08:00
Yeuoly
04d3abd754
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-09 16:13:33 +08:00
Yeuoly
16b49ac436
Merge branch 'main' into fix/chore-fix 2024-12-09 16:08:19 +08:00
Yeuoly
c377eb8c28
fix: unbound variable in tool node 2024-12-09 15:43:01 +08:00
-LAN-
537068cfde
refactor(iteration_node): use Sequence and Mapping in parameters (#11483)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-09 15:41:20 +08:00
suzuki.sh
c3c6a48059
Fix the token count at the iteration node (#11235)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-12-09 15:02:04 +08:00
yihong
d9d5d35a77
fix: issue #10596 by making the iteration node outputs right (#11394)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-12-07 16:28:15 +08:00
Huỳnh Gia Bôi
9277156b6c
fix(document_extractor): pptx file type and missing metadata_filename UnstructuredIO (#11364)
Co-authored-by: Julian Huynh <julian.huynh@immersio.io>
2024-12-06 18:55:59 +08:00
Yeuoly
1ce7990df4
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-06 16:47:40 +08:00
Yeuoly
337eff2b79
Merge branch 'main' into fix/chore-fix 2024-12-06 16:45:25 +08:00
Yi
b8f9747849 Merge branch "main" into feat/plugins 2024-12-05 15:08:09 +08:00
yihong
5669cac16d
fix: some typos using typos (#11374)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-12-05 13:24:06 +08:00
crazywoola
d56abec195
Revert "Fix: iteration not in main thread pool" (#11358) 2024-12-04 21:22:22 +08:00
Yeuoly
df68b6befa
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-04 19:26:23 +08:00
Yeuoly
01efdee1dd
fix: support other file types for Tool 2024-12-04 19:26:01 +08:00
Yeuoly
e5e8277c2d
Merge remote-tracking branch 'origin/feat/plugins' into dev/plugin-deploy 2024-12-04 15:40:39 +08:00
Yeuoly
86291c13e4
Merge branch 'main' into fix/chore-fix 2024-12-04 15:34:39 +08:00
-LAN-
464e6354c5
feat: correct the prompt grammar. (#11328)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-04 15:12:47 +08:00
非法操作
d470e55f8c
fix: http node download file always image type (#11319) 2024-12-04 12:15:26 +08:00
Joel
f634a4488f merge main 2024-12-04 11:06:00 +08:00
Yeuoly
9cb2a031ed
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-03 19:28:22 +08:00
Yeuoly
dcf19549cb
feat: move audio and webscraper back to dify 2024-12-03 19:27:57 +08:00
Yi Xiao
e135ffc2c1
Feat: upgrade variable assigner (#11285)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-12-03 13:56:40 +08:00
Bowen Liang
e79eac688a
chore(lint): sort __all__ definitions (#11243) 2024-12-03 13:26:33 +08:00
Novice
2a448a899d
Fix: iteration not in main thread pool (#11271)
Co-authored-by: Novice Lee <novicelee@NovicedeMacBook-Pro.local>
2024-12-03 09:16:03 +08:00
Yeuoly
78a0c3c13c
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-12-02 21:08:53 +08:00
Yeuoly
ad899844a1
fix: workflow loads tool provider icon 2024-12-02 21:08:36 +08:00
朱晓兵
e80f41a701
fix: support setting variables in url (#10676) 2024-11-30 11:15:17 +08:00
yihong
5a9b785773
fix: excel in node only read one sheet, close #9661 (#11215)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-11-30 11:11:08 +08:00
Yeuoly
f36a50ad09
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-11-29 14:09:54 +08:00
Yeuoly
687455ca31
fix: tool file id 2024-11-29 14:09:34 +08:00
Yeuoly
df67200e18
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-11-28 20:44:58 +08:00
Yeuoly
8c5928da2f
fix: unify error handling 2024-11-28 20:44:06 +08:00
Yeuoly
5df52b33d7
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-11-28 19:09:27 +08:00
Yeuoly
0452dfd029
fix: missing tool invoke messages 2024-11-28 19:09:04 +08:00
Yeuoly
e79dcf93fe
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-11-28 18:24:19 +08:00
Yeuoly
eead6abe85
fix: tool image url response 2024-11-28 18:23:28 +08:00
Hiroshi Fujita
a918cea2fe
feat: add VTT file support to Document Extractor (#11148) 2024-11-27 11:42:42 +08:00
-LAN-
9789905a1f
chore(*): Removes debugging print statements (#11145)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-11-26 22:03:19 +08:00
Charlie.Wei
f458580dee
fix parameter extractor function call Expected str (#11142) 2024-11-26 21:46:56 +08:00
-LAN-
223a30401c
fix: LLM invoke error should not be raised (#11141)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-11-26 20:56:48 +08:00
Yeuoly
66d4de39b8
Merge branch 'fix/chore-fix' into dev/plugin-deploy 2024-11-26 18:04:34 +08:00
Yeuoly
e4b8220bc2
Merge branch 'main' into fix/chore-fix 2024-11-26 18:02:41 +08:00
-LAN-
044e7b63c2
fix(llm_node): Ignore file if not supported. (#11114) 2024-11-26 14:14:14 +08:00
-LAN-
5b7b328193
feat: Allow to contains files in the system prompt even model not support. (#11111) 2024-11-26 13:45:49 +08:00
-LAN-
cbb4e95928
fix(llm_node): Ignore user query when memory is disabled. (#11106) 2024-11-26 13:07:32 +08:00