Commit Graph

364 Commits

Author SHA1 Message Date
非法操作 fa226ece81 fix: replace all dataset.Model.query to db.session.query(Model) (#19509) 2025-05-12 13:52:33 +08:00
LeanDeR e482628adf refactor(workflow): revamp logging module for loop & iteration nodes (#19484) 2025-05-12 09:32:41 +08:00
Bowen Liang d4b89bdde2 chore: bump pydantic to 2.11 and pydantic-settings to 2.9 (#15049) 2025-05-08 17:39:51 +08:00
Will 562ef031d0 fix: inconsistent metadata definitions (#19343) 2025-05-08 16:33:28 +08:00
Will c1d8ad7b5d fix: metadata filtering condition variable unassigned; fix External K… (#19208) 2025-05-07 14:52:09 +08:00
-LAN- e85ddde41c refactor: Remove RepositoryFactory (#19176)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-06 21:14:51 +08:00
Novice 1641439319 fix(structured-output): reasoning model's json format parsing (#19261) 2025-05-06 13:16:08 +08:00
kenwoodjw a1d3026ac5 fix basic auth if not base64 encode (#19242)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-05-06 09:18:37 +08:00
Hao Cheng 6a1434db92 fix: use only supported operators in metadata filter system prompts (#19195) 2025-05-03 20:08:08 +08:00
Will 59fe233202 fix: time type metadata filtering error (#19192) 2025-05-03 20:07:37 +08:00
QuantumGhost a1ffe78fc7 feat(api): Add image multimodal support for LLMNode (#17372)
Enhance `LLMNode` with multimodal capability, introducing support for
image outputs.

This implementation extracts base64-encoded images from LLM responses,
saves them to the storage service, and records the file metadata in the
`ToolFile` table. In conversations, these images are rendered as
markdown-based inline images.
Additionally, the images are included in the LLMNode's output as
file variables, enabling subsequent nodes in the workflow to utilize them.

To integrate file outputs into workflows, adjustments to the frontend code
are necessary.

For multimodal output functionality, updates to related model configurations
are required. Currently, this capability has been applied exclusively to
Google's Gemini models.

Close #15814.

Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-04-30 17:28:02 +08:00
-LAN- a482b6d088 feat: support remove first and remove last in variable assigner (#19144)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-04-30 15:50:00 +08:00
Will 0abc9c2889 fix: inconsistent case expression in _process_metadata_filter_func (#19146) 2025-04-30 15:14:01 +08:00
QuantumGhost 487b107e6f Enhance Code Consistency Across Repository with .editorconfig (#19023) 2025-04-29 18:04:33 +08:00
feiyang_deepnova e25e049371 Fix: the issue of getting empty environment variables. (#19085) 2025-04-29 18:01:11 +08:00
Jyong 4adceec60f remove unstructured api key check (#18989) 2025-04-28 17:26:30 +08:00
quicksand edfb6ea16c feat (document_extractor): support .properties file (#18969) 2025-04-28 15:28:11 +08:00
crazywoola cfa9b91ee1 feat: add VTT data transform to Document extractor (#18936) 2025-04-28 13:45:15 +08:00
-LAN- 636c26d18b refactor: Refactors repository imports structure (#18901)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-04-27 17:29:03 +08:00
Yeuoly 63802d8104 refactor: rename plugin manager to plugin client and rename path from manager to impl (#18876) 2025-04-27 14:22:25 +08:00
非法操作 84b076bf93 fix: LLMResultChunk cause concatenate str and list exception (#18852) 2025-04-27 11:32:14 +08:00
Jyong 2648f822c3 check metadata_filtering_conditions could be None in auto mode (#18548) 2025-04-22 17:09:33 +08:00
ZalterCitty 8ebdd4649c fix: Update prompt message content types to use Literal and add union type for content (#17136)
Co-authored-by: 朱庆超 <zhuqingchao@xiaomi.com>
Co-authored-by: crazywoola <427733928@qq.com>
2025-04-22 16:17:55 +08:00
Novice 2eb79ef233 feat: structured output (#17877) 2025-04-18 16:33:53 +08:00
Novice 2cd8ae79b1 fix(fail-branch): prevent streaming output in exception branches (#17153) 2025-04-16 22:34:07 +08:00
呆萌闷油瓶 d4eef9104b fix:the extraction function of the list operation node received 0 that should not be received (#18170) 2025-04-16 16:26:24 +08:00
Ganondorf 5c0b872aad Http requests node add ssl verify (#18125)
Co-authored-by: lizb <lizb@sugon.com>
2025-04-16 15:59:34 +08:00
kenwoodjw def2d2956a fix basic auth encoding (#18047)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-04-15 11:34:50 +08:00
Novice 56b8225279 fix(langfuse): qusetion classify node can't see cost in langfuse (#17982) 2025-04-14 15:28:26 +08:00
Yongtao Huang 5ca9433c46 Remove dead code (#17899) 2025-04-11 20:33:52 +08:00
briqt 412475afb0 Fix external knowledge Issues: (#17685) (#17843) 2025-04-11 15:37:27 +08:00
Xu Song 84d56375b1 fix: make prompt consistent with few-show examples (#11538) 2025-04-11 09:16:26 +08:00
zxfishhack 2f513c8769 robust for json parser (#17687) 2025-04-10 22:18:26 +08:00
-LAN- ec29bcf013 feat(graph_engine): yield control to other threads before node run. (#17689)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-04-09 17:02:47 +08:00
Yongtao Huang e1304dc0c3 Chore: fix some wrong annotations (#17413) 2025-04-03 17:27:07 +08:00
Novice dcdec98c8e feat: agent node add memory (#15976) 2025-04-03 16:40:58 +08:00
Good Wood b3f4e90862 feat: remove file and file[] restriction in code node (#17382) 2025-04-03 16:23:19 +08:00
Dongyu Li 8c77f2dc03 Feat/loop node (#17273) 2025-04-02 13:53:26 +08:00
非法操作 44f911a0a8 chore: docstring not match the function parameter (#17162) 2025-03-31 13:19:15 +08:00
Arcaner becd03a4aa fix: enhance file extension condition check for if-else node (#17060) 2025-03-29 14:20:18 +08:00
Jyong 30792a1e1a install pandoc (#16825) 2025-03-26 22:34:10 +08:00
Jyong 6a857e01f6 fix multiple metadata filter's confusing setting (#16771) 2025-03-26 14:16:21 +08:00
Jyong 86a1859d02 Metadata variable value fix (#16665) 2025-03-25 09:07:11 +08:00
Ron bf682302ee fix error with literal_eval (#16297)
Co-authored-by: Novice <novice12185727@gmail.com>
2025-03-21 09:30:24 +08:00
Novice 437dcbdd68 fix: exclude additional unreachable nodes (#16329) 2025-03-20 16:53:56 +08:00
Jyong b8ef3149ef metadata expect value check error (#16210) 2025-03-19 17:48:01 +08:00
cyflhn 1789437cc5 reopen PR for #14411 (#16148) 2025-03-19 10:24:35 +08:00
Jyong fa9b767bf2 fix chatflow metadata field name (#16130) 2025-03-18 19:40:42 +08:00
Jyong abeaea4f79 Support knowledge metadata filter (#15982) 2025-03-18 16:42:19 +08:00
kurokobo 86d3fff666 fix: respect resolution settings for vision for basic chatbot, text generator, and parameter extractor node (#16041) 2025-03-18 14:37:07 +08:00