Commit Graph

362 Commits

Author SHA1 Message Date
-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
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
非法操作
9c7a1bc067
fix: change http node params from dict to list tuple (#11665) 2024-12-15 21:27:39 +08:00
Yeuoly
93c3699128
feat: add label to agent log 2024-12-15 18:12:29 +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
63206a7967
fix: incorrect use of node execution id 2024-12-13 00:05:57 +08:00
Yeuoly
9a6f120e5c
feat: support agent log event 2024-12-12 23:46:26 +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
a175d6b2d7
feat: agent management 2024-12-10 00:22:41 +08:00
Yeuoly
296fd82bbf
fix: agent node 2024-12-09 23:26:16 +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
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
337eff2b79
Merge branch 'main' into fix/chore-fix 2024-12-06 16:45:25 +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
01efdee1dd
fix: support other file types for Tool 2024-12-04 19:26:01 +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
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
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
687455ca31
fix: tool file id 2024-11-29 14:09:34 +08:00
Yeuoly
8c5928da2f
fix: unify error handling 2024-11-28 20:44:06 +08:00
Yeuoly
0452dfd029
fix: missing tool invoke messages 2024-11-28 19:09:04 +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
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
-LAN-
20c091a5e7
fix: user query be ignored if query_prompt_template is an empty string (#11103) 2024-11-26 12:47:59 +08:00
Pedro Gomes
319d49084b
fix: ignore empty outputs in Tool node (#10988) 2024-11-25 18:00:42 +08:00
Yeuoly
5ff9cee326
Merge branch 'main' into fix/chore-fix 2024-11-25 15:37:19 +08:00
-LAN-
3eb51d85da
fix(workflow_entry): Support receive File and FileList in single step run. (#10947)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
2024-11-25 12:46:50 +08:00
-LAN-
60b5dac3ab
fix: query will be None if the query_prompt_template not exists (#11031)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-11-24 21:06:51 +08:00
litterGuy
ae3a2cb272
fix: json parse err when http node send request (#11001) 2024-11-24 14:19:48 +08:00
Bowen Liang
6c8e208ef3
chore: bump minimum supported Python version to 3.11 (#10386) 2024-11-24 13:28:46 +08:00
非法操作
08ac36812b
feat: support LLM process document file (#10966)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-11-22 19:32:44 +08:00
-LAN-
c5f7d650b5
feat: Allow using file variables directly in the LLM node and support more file types. (#10679)
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-11-22 16:30:22 +08:00
Yeuoly
24734009b9
Merge branch 'main' into fix/chore-fix 2024-11-21 13:52:28 +08:00
-LAN-
25fda7adc5
fix(http_request): allow content type application/x-javascript (#10862) 2024-11-20 12:55:06 +08:00
Yeuoly
6300e506fb
fix: rag 2024-11-15 15:54:14 +08:00
Yeuoly
a0543ab8fb
Merge branch 'main' into fix/chore-fix 2024-11-15 15:43:32 +08:00
Bowen Liang
51db59622c
chore(lint): cleanup repeated cause exception in logging.exception replaced by helpful message (#10425) 2024-11-15 15:41:40 +08:00
非法操作
4b2abf8ac2
fix: create_blob_message of tool will always create image type file (#10701) 2024-11-15 10:38:12 +08:00
yihong
722964667f
fix: non utf8 code decode close #10691 (#10698)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-11-14 17:29:49 +08:00
-LAN-
70c2ec8ed5
feat(variable-handling): enhance variable and segment conversion (#10483) 2024-11-12 21:51:09 +08:00
-LAN-
bd4a61addd
fix: set default factory for extract_by in ListOperatorNodeData (#10561) 2024-11-11 23:32:40 +08:00
Novice
4b45ef62ed
fix: iteration invalid output selector doesn't throw an error (#10544) 2024-11-11 17:34:48 +08:00
Novice
f414d241c1
Feat/iteration single run time (#10512) 2024-11-11 14:47:52 +08:00
Yeuoly
5cdbfe2f41
Merge branch 'main' into fix/chore-fix 2024-11-11 14:00:53 +08:00
Charlie.Wei
fbee41f8c7
The list action node adds methods to extract specific list objects (#10421)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-11-11 12:10:21 +08:00
-LAN-
bf31a3efbc
feat(workflow-nodes): handle missing variables without failure (#10471) 2024-11-08 19:48:05 +08:00
-LAN-
25ca0278dd
refactor(core): Remove extra_config from File. (#10203) 2024-11-08 18:13:24 +08:00
Novice
a7dbe58c85
fix: correct output order in parallel mode for iteration nodes (#10323) 2024-11-08 15:32:40 +08:00
Yeuoly
7a2b2a04c9
Merge branch 'main' into fix/chore-fix 2024-11-08 13:47:24 +08:00
非法操作
033ab5490b
feat: support LLM understand video (#9828) 2024-11-08 13:22:52 +08:00
-LAN-
438ad8148b
fix(http_request): send form data (#10431) 2024-11-08 09:33:40 +08:00
Bowen Liang
574c4a264f
chore(lint): Use logging.exception instead of logging.error (#10415) 2024-11-07 21:13:02 +08:00
Yeuoly
fe677cc5f9
Merge branch 'main' into fix/chore-fix 2024-11-07 17:06:29 +08:00
-LAN-
f8c958a409
refactor(iteration): introduce specific exceptions for iteration errors (#10366) 2024-11-07 14:02:55 +08:00
-LAN-
25785d8c3f
refactor(knowledge-retrieval): improve error handling with custom exceptions (#10385) 2024-11-07 14:02:46 +08:00
-LAN-
35d3da9697
refactor(tool-node): introduce specific exceptions for tool node errors (#10357) 2024-11-07 14:02:38 +08:00
-LAN-
d3e9930235
refactor(question_classifier): improve error handling with custom exceptions (#10365) 2024-11-07 14:02:30 +08:00
-LAN-
baab81714e
fix(http_request): improve parameter initialization and reorganize tests (#10297) 2024-11-05 20:30:13 +08:00
-LAN-
33219e850a
fix(node): correct file property name in function switch (#10284) 2024-11-05 20:30:00 +08:00
Novice
d330d31ee5
feat: Iteration node support parallel mode (#9493) 2024-11-05 20:29:59 +08:00
-LAN-
2cd976846a
feat(document_extractor): support tool file in document extractor (#10217) 2024-11-05 20:29:59 +08:00
-LAN-
fe3cde973e
refactor(parameter_extractor): implement custom error classes (#10260) 2024-11-05 20:29:59 +08:00
-LAN-
2d9632d8b9
refactor(list_operator): replace ValueError with InvalidKeyError (#10222) 2024-11-05 20:28:29 +08:00
-LAN-
7e42de1e7b
refactor(workflow): introduce specific error handling for LLM nodes (#10221) 2024-11-05 20:28:29 +08:00
-LAN-
bd674d27be
refactor(http_request): add custom exception handling for HTTP request nodes (#10219) 2024-11-05 20:28:29 +08:00
-LAN-
5735761920
refactor(workflow): introduce specific exceptions for code validation (#10218) 2024-11-05 20:28:29 +08:00
-LAN-
405b704f02
chore(llm_node): remove unnecessary type ignore for context assignment (#10216) 2024-11-05 20:28:29 +08:00
-LAN-
b01e7d778e
chore(list_operator): refine exception handling for error specificity (#10206) 2024-11-05 20:28:28 +08:00
-LAN-
7c45859594
fix(document_extractor): update base exception class (#10208) 2024-11-05 20:28:27 +08:00
-LAN-
81a77d0623
feat(document_extractor): integrate unstructured API for PPTX extraction (#10180) 2024-11-05 20:28:17 +08:00
-LAN-
ae254f0a10
fix(http_request): improve parameter initialization and reorganize tests (#10297) 2024-11-05 16:30:23 +08:00
-LAN-
08c731fd84
fix(node): correct file property name in function switch (#10284) 2024-11-05 14:23:18 +08:00
Novice
d1505b15c4
feat: Iteration node support parallel mode (#9493) 2024-11-05 10:32:49 +08:00
-LAN-
2c4d8dbe9b
feat(document_extractor): support tool file in document extractor (#10217) 2024-11-05 09:49:43 +08:00