Commit Graph

663 Commits

Author SHA1 Message Date
Wu Tianwei ad472d59e0
fix: Refactor i18n config and fix plugin search box styling issue (#22945) 2025-07-25 15:01:28 +08:00
HyaCinth 45cebf09b0
fix: Optimize input variable retrieval logic (#22888) (#22914) 2025-07-24 21:57:55 +08:00
HyaCinth 061d4c8ea0
fix(plugins_select): Adjust z-index, fix issue where options cannot be displayed (#22873) (#22893) 2025-07-24 15:14:30 +08:00
呆萌闷油瓶 371fe7a700
fix: type error in list-operator (#22803) 2025-07-24 12:21:20 +08:00
croatialu d1572f47a0
feat: Add user variable processing function to chat history (#22863) 2025-07-24 10:06:49 +08:00
Junyan Qin (Chin) eaae79a581
feat: plugin auto upgrade strategy (#19758)
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Novice <novice12185727@gmail.com>
2025-07-23 15:33:39 +08:00
Wu Tianwei ce15ca8929
feat: custom components in markdown comp (#22776) 2025-07-22 15:30:22 +08:00
lyzno1 659d51a2da
fix: complete file_upload schema in OpenAPI templates (#22700) (#22719) 2025-07-21 17:43:49 +08:00
KVOJJJin a83e4ed9a4
Perf: remove user profile loading (#22710) 2025-07-21 16:35:52 +08:00
Novice 17a8f1a0f1
fix: avoid using node_data.version for judgement tool node version (#22462)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2025-07-21 09:28:47 +08:00
Wu Tianwei b035f3f884
feat: convert components to dynamic imports for improved performance (#22614) 2025-07-18 11:43:37 +08:00
Asuka Minato 2423f97c72
remove overrides (#22575) 2025-07-17 21:47:48 +08:00
Maries a4ef900916
Support OAuth Integration for Plugin Tools (#22550)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
2025-07-17 17:18:44 +08:00
znn 3cfba9e47b
updating icon (#22485) 2025-07-17 15:10:36 +08:00
NFish a324d3942e
Perf/web app authrozation (#22524) 2025-07-17 10:52:10 +08:00
Chieh Wang 30aa052a57
feat: Add Citations and Attributions to Agent Node (#18558)
Co-authored-by: oneness0 <2902216407@qq.com>
Co-authored-by: Novice <novice12185727@gmail.com>
2025-07-16 15:46:15 +08:00
Wu Tianwei aef67ed7ec
fix: add background color for chat bubble in light and dark themes (#22472) 2025-07-16 13:36:51 +08:00
QuantumGhost 2c1ab4879f
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025)
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025)

This PR addresses serialization issues in the VariablePool model by separating the `value_type` tags for `IntegerSegment`/`FloatSegment` and `IntegerVariable`/`FloatVariable`. Previously, both Integer and Float types shared the same `SegmentType.NUMBER` tag, causing conflicts during serialization.

Key changes:
- Introduce distinct `value_type` tags for Integer and Float segments/variables
- Add `VariableUnion` and `SegmentUnion` types for proper type discrimination
- Leverage Pydantic's discriminated union feature for seamless serialization/deserialization
- Enable accurate serialization of data structures containing these types

Closes #22024.
2025-07-16 12:31:37 +08:00
Kerwin Bryant 229b4d621e
Improve Tooltip UX by enabling delay by default (#21383) 2025-07-16 11:26:54 +08:00
znn 1f4b3591ae
adding tooltip for bindingCount (#22450)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2025-07-16 09:59:42 +08:00
Minamiyama 7e666dc3b1
fix(prompt-editor): show error warning for destructive env and conv var (#21802) 2025-07-15 14:10:50 +08:00
HyaCinth 2d3c5b3b7c
fix(emoji-picker): Adjust the style of the emoji picker (#22161) (#22231) 2025-07-11 17:52:16 +08:00
le0zh fe4e2f7921
feat: support var in suggested questions (#17340)
Co-authored-by: crazywoola <427733928@qq.com>
2025-07-11 15:07:32 +08:00
Joel 5375d9bb27
feat: the frontend part of mcp (#22131)
Co-authored-by: jZonG <jzongcode@gmail.com>
Co-authored-by: Novice <novice12185727@gmail.com>
Co-authored-by: nite-knite <nkCoding@gmail.com>
Co-authored-by: Hanqing Zhao <sherry9277@gmail.com>
2025-07-10 14:14:02 +08:00
Heyang Wang 4403bc67a1
fix(Drawer): add overflow hidden to ensure copy button is always clickable (#21992) (#22103)
Co-authored-by: wangheyang <wangheyang@corp.netease.com>
2025-07-10 09:20:02 +08:00
Davide Delbianco 1885426421
feat: Allow to change SSL verify in HTTP Node (#22052)
Co-authored-by: crazywoola <427733928@qq.com>
2025-07-09 15:53:24 +08:00
kurokobo e39236186d
feat: introduce new env ALLOW_UNSAFE_DATA_SCHEME to allow rendering data uri scheme (#21321) 2025-07-09 10:12:40 +08:00
mizoo de22648b9f
feat: Add support for type="hidden" input elements in Markdown forms (#21922)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-07 10:35:30 +08:00
heyszt a201e9faee
feat: Add Aliyun LLM Observability Integration (#21471) 2025-07-04 21:54:33 +08:00
Ali Saleh 1af3d40c1a
feat: Improve Observability with Arize & Phoenix Integration (#19840)
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Gu <guchenhe@gmail.com>
2025-07-03 13:52:14 +08:00
ShadowJobs 86179beaa5
FIX: dollar-sign escaping in preprocessLaTeX code‐block handling (#21796)
Co-authored-by: LinYing <linying@momenta.ai>
2025-07-02 11:32:23 +08:00
Minamiyama 25de39d9c6
Feat: sync input variable names to main() function (#21667) 2025-07-01 10:57:07 +08:00
NFish 6013d90426
Fix/ serveral bugs fixed in enterprise (#21729) 2025-07-01 10:42:11 +08:00
Davide Delbianco 38a704743c
chore: Add missing svg icon sources (#21627) 2025-06-27 16:56:22 +08:00
CorrectRoad 7d9d670f90
feat: to add tag when tag input is unfocus (#21555) 2025-06-27 10:36:01 +08:00
Yeuoly cea6522122
feat: add DYNAMIC_SELECT parameter type for dynamic options in parameter entities (#21425) 2025-06-26 17:44:14 +08:00
CorrectRoad d2814650e6
feat: prevent input of non-numeric values ​​in numer input (#21562) 2025-06-26 16:43:26 +08:00
zxhlyh 45dc0a43d3
fix: prompt editor insert context (#21526) 2025-06-26 09:58:58 +08:00
zxhlyh 819c02f1f5
fix: prompt editor click to insert variable (#21470) 2025-06-25 11:34:58 +08:00
Kerwin Bryant 2467bd738a
Improve App Icon Picker: Stable Modal Height & Collapsible Emoji Style Section (#21399) 2025-06-24 11:13:28 +08:00
Joel 1a1bfd4048
feat: last run frontend (#21369)
The frontend of feat: Persist Variables for Enhanced Debugging Workflow (#20699).

Co-authored-by: jZonG <jzongcode@gmail.com>
2025-06-24 09:10:30 +08:00
QuantumGhost 10b738a296
feat: Persist Variables for Enhanced Debugging Workflow (#20699)
This pull request introduces a feature aimed at improving the debugging experience during workflow editing. With the addition of variable persistence, the system will automatically retain the output variables from previously executed nodes. These persisted variables can then be reused when debugging subsequent nodes, eliminating the need for repetitive manual input.

By streamlining this aspect of the workflow, the feature minimizes user errors and significantly reduces debugging effort, offering a smoother and more efficient experience.

Key highlights of this change:

- Automatic persistence of output variables for executed nodes.
- Reuse of persisted variables to simplify input steps for nodes requiring them (e.g., `code`, `template`, `variable_assigner`).
- Enhanced debugging experience with reduced friction.

Closes #19735.
2025-06-24 09:05:29 +08:00
GuanMu e56d7547f7
fix: web error (#21340) 2025-06-23 13:54:52 +08:00
sayThQ199 ba5eebf3a2
feat(mermaid): Rearchitect component for robustness, security, and theming (#21281) 2025-06-20 19:55:58 +08:00
非法操作 40e8ad419b
fix: not permitted schema of markdown link cause page crash (#21258) 2025-06-20 09:23:30 +08:00
sayThQ199 2df4699312
fix(echarts): Resolve interaction issues on charts with timelines (#21185) 2025-06-18 20:22:33 +08:00
croatialu 15800c6108
feat: Embedded chat window supports userVariables configuration. (#20983) 2025-06-18 14:27:02 +08:00
XiaoCC 0784c6295d
fix Multiple <think>\n Interface rendering exception (#20977) 2025-06-18 11:31:04 +08:00
Bowen Liang 6a5236b200
chore: cleanup wrong and unused doc links in i18 translations by appling docLink method usage (#21112) 2025-06-17 16:14:53 +08:00
kurokobo df6451076b
fix: prevent nodes from being unintentionally deleted by pressing the backspace key. (#21023) 2025-06-17 16:11:30 +08:00
Bowen Liang f4df759ba6
refactor: generalize method for getting doc link respecting locale and fix error link paths (#20801) 2025-06-13 10:58:43 +02:00
非法操作 b2ac11bc47
fix: markdown button can't send message (#20933) 2025-06-12 08:18:15 +02:00
非法操作 ab62a9662c
fix: some dark mode display incorrect (#20788) 2025-06-09 16:09:27 +08:00
NFish d6a8af03b4
Fix/add webapp no permission page (#20819) 2025-06-09 15:44:49 +08:00
Joel 0c8447fd0e
fix: missing bot name in orchestrate (#20747) 2025-06-06 16:44:36 +08:00
KVOJJJin 59dc7c880e
Fix: style of radio checked (#20681) 2025-06-05 15:47:42 +08:00
Novice 0ccf8cb23e
fix: agent moderation not working (#20673) 2025-06-05 14:56:41 +08:00
NFish 9915a70d7f
Fix/webapp access scope (#20109) 2025-06-05 10:55:17 +08:00
非法操作 f2dcfc976d
feat: allow fill inputs from url params (#20630) 2025-06-05 09:44:41 +08:00
sayThQ199 4f066454d0
fix(markdown): Ensure abbr: links render correctly in react-markdown v9+ (#20648) 2025-06-04 19:52:12 +08:00
Bowen Liang 2b0f3edcef
chore: ensure web code consistency by applying `pnpm fix` (#20643) 2025-06-04 19:45:29 +08:00
Joel d22c351221
chore: fix some security issues in markdown (#20639) 2025-06-04 15:56:29 +08:00
kenwoodjw 01d500db14
fix: autocorrect everything in web (#20605)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-06-04 14:12:24 +08:00
Bowen Liang f1c19cda74
fix: unable to upload custom file in case of incorrect inffered by multiple extensions mapped from mime type with filename extension hints (#20559) 2025-06-04 13:20:57 +08:00
sayThQ199 077d627953
fix: ensure newlines around think tags for proper markdown rendering (#20594) 2025-06-03 18:56:09 +08:00
Joel 744159a079
fix: agent thought replaced by response text (#20571) 2025-06-03 14:54:42 +08:00
KVOJJJin d6b30efe2c
Fix/dark theme style issues (#20566) 2025-06-03 13:53:24 +08:00
Davide Delbianco 1d9c90089c
Amend color typo (#20497)
Co-authored-by: Davide Delbianco <davide.delbianco@zucchetti.it>
2025-05-30 15:27:30 +08:00
sayThQ199 f65c2fcb1d
Refactor/markdown component split (#20177) 2025-05-30 11:31:50 +08:00
非法操作 156bb8238d
fix: some display error in dark mode (#20469) 2025-05-30 11:25:46 +08:00
crazywoola 8e2d342de6
Feat/15534 support replacing the bot in chat input placeholder with the bots name (#20473) 2025-05-30 10:51:19 +08:00
Davide Delbianco 91eeb2ab76
chore: Colorize new OpenAI LLM versions (#20463)
Co-authored-by: Davide Delbianco <davide.delbianco@zucchetti.it>
2025-05-30 09:24:31 +08:00
NFish 57ece83c30
Fix/branding broken (#20375)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
2025-05-28 20:06:58 +08:00
zxhlyh 00199c41bb
fix: workflow plugins list update (#20357) 2025-05-28 17:45:08 +08:00
HyaCinth eb26dc3213
fix: Remove the custom comparison function from the memo HOC(#19679) (#20197) 2025-05-26 18:04:25 +08:00
GonzaHM 4c7351176c
fix: resolve Mermaid mindmap generation issue (#20227) 2025-05-26 16:26:56 +08:00
sayThQ199 cbfc32b11f
fix(echarts): Resolve chart flickering and animation loop in Markdown (#20161) 2025-05-25 18:05:41 +08:00
非法操作 db09d18e92
fix: some dark theme not display well (#20121) 2025-05-22 22:29:12 +08:00
sayThQ199 7bf00ef25c
fix(markdown): improve ECharts rendering for streaming content and da… (#20101)
Co-authored-by: crazywoola <427733928@qq.com>
2025-05-22 16:31:13 +08:00
Nite Knite 916c415b4b
feat: add entry point for requesting a plugin (#20026) 2025-05-22 14:15:00 +08:00
Panpan ef3569e667
feat: support chatflow start node custom input field hidden (#19678) 2025-05-21 13:52:21 +08:00
crazywoola a0ebbaa840
fix: emoji picker in dark mode (#20019) 2025-05-21 11:23:26 +08:00
ruanjiefeng 9ebc58b1a2
feat: Web <video> and <audio> element support src attribute (#19988) 2025-05-20 16:37:31 +08:00
NFish d186daa131
E-300 (#19726)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Hash Brown <hi@xzd.me>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: GareArc <chen4851@purdue.edu>
Co-authored-by: Byron.wang <byron@dify.ai>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
Co-authored-by: KVOJJJin <jzongcode@gmail.com>
Co-authored-by: Alexi.F <654973939@qq.com>
Co-authored-by: Xiyuan Chen <52963600+GareArc@users.noreply.github.com>
Co-authored-by: kautsar_masuara <61046989+izon-masuara@users.noreply.github.com>
Co-authored-by: achmad-kautsar <achmad.kautsar@insignia.co.id>
Co-authored-by: Xin Zhang <sjhpzx@gmail.com>
Co-authored-by: kelvintsim <83445753+kelvintsim@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Zixuan Cheng <61724187+Theysua@users.noreply.github.com>
2025-05-20 12:07:50 +08:00
wellCh4n 276c02f341
feat: Variable click jumps to source node (#13623) 2025-05-19 23:17:18 +08:00
GQ1994 e7659ecd9d
revert https://github.com/langgenius/dify/pull/19497 (19497) (#19807)
Co-authored-by: qingguo <qingguo@lexin.com>
2025-05-17 12:32:27 +08:00
Junjie.M aeceb200ec
fix: llm parameters radio type dark style (#19833) 2025-05-16 20:45:15 +08:00
Nite Knite dc75a10989
feat: update branding (#19719)
Co-authored-by: twwu <twwu@dify.ai>
2025-05-15 12:38:20 +08:00
KVOJJJin 3548c133e3
Feat: add theme switcher (#18093) 2025-05-14 09:06:14 +08:00
yangzheli 297d35364e
fix(web): optimize action buttons style in the question component (#19626) 2025-05-13 21:31:01 +08:00
Nite Knite be51384549
fix: premium badge styling (#19609) 2025-05-13 17:04:26 +08:00
fadeaway 24f56df8c3
fix(web): able to enter Chinese characters in the view-form-dropdown (#19555)
Co-authored-by: fadeaway <chaofanchi@gmail.com>
2025-05-12 21:38:47 +08:00
johnny0120 49af07f444
fix: use NextJS basePath and WEB_PREFIX to support custom prefix (#19497)
Co-authored-by: johnny0120 <15564476+johnny0120@users.noreply.github.com>
2025-05-12 13:44:41 +08:00
yangzheli 87da155477
fix: agent log modal fails to open and the timer is not cleared (#18900) (#19471) 2025-05-12 09:00:57 +08:00
Good Wood 198fbb9b3d
fix: support echart function option (#19424) 2025-05-09 13:49:40 +08:00
DDDDD12138 a24c20a731
fix: support text wrapping in buttons for long content (#19390) 2025-05-08 22:50:55 +08:00
KVOJJJin b78846078c
Fix: hide view chat setting button when no inputs form (#19263) 2025-05-06 13:15:23 +08:00
allenZhang 5a6f20d575
Optimize the event handling and rendering logic of the component picker (#19232) 2025-05-06 09:48:53 +08:00
非法操作 1ca6dbcdc8
fix: file name incorrect when download file (#19183) 2025-04-30 22:47:59 +08:00
QuantumGhost 349c3cf7b8
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