Commit Graph

596 Commits

Author SHA1 Message Date
QuantumGhost a92b9971a4 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 583a7a1d14 Improve Tooltip UX by enabling delay by default (#21383) 2025-07-16 11:26:54 +08:00
znn 868a14c6d3 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 1be943b9f4 fix(prompt-editor): show error warning for destructive env and conv var (#21802) 2025-07-15 14:10:50 +08:00
HyaCinth 44a8fddabb fix(emoji-picker): Adjust the style of the emoji picker (#22161) (#22231) 2025-07-11 17:52:16 +08:00
le0zh f64af1b307 feat: support var in suggested questions (#17340)
Co-authored-by: crazywoola <427733928@qq.com>
2025-07-11 15:07:32 +08:00
Joel 5cb067d1fc 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 afd184e426 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 5e1537c1d8 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 4303e79bc8 feat: introduce new env ALLOW_UNSAFE_DATA_SCHEME to allow rendering data uri scheme (#21321) 2025-07-09 10:12:40 +08:00
mizoo 6176c4e5aa 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 7a5c368626 feat: Add Aliyun LLM Observability Integration (#21471) 2025-07-04 21:54:33 +08:00
Ali Saleh 5e1ab463fa 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 23224fde6c 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 42fe0b5758 Feat: sync input variable names to main() function (#21667) 2025-07-01 10:57:07 +08:00
NFish 482f2b60c6 Fix/ serveral bugs fixed in enterprise (#21729) 2025-07-01 10:42:11 +08:00
Davide Delbianco 07a2dfea52 chore: Add missing svg icon sources (#21627) 2025-06-27 16:56:22 +08:00
CorrectRoad 7a02e4f0bd feat: to add tag when tag input is unfocus (#21555) 2025-06-27 10:36:01 +08:00
Yeuoly 04a6c958c8 feat: add DYNAMIC_SELECT parameter type for dynamic options in parameter entities (#21425) 2025-06-26 17:44:14 +08:00
CorrectRoad af04750fee feat: prevent input of non-numeric values ​​in numer input (#21562) 2025-06-26 16:43:26 +08:00
zxhlyh 0356796cd0 fix: prompt editor insert context (#21526) 2025-06-26 09:58:58 +08:00
zxhlyh 02e7f69423 fix: prompt editor click to insert variable (#21470) 2025-06-25 11:34:58 +08:00
Kerwin Bryant 7685b0eaf5 Improve App Icon Picker: Stable Modal Height & Collapsible Emoji Style Section (#21399) 2025-06-24 11:13:28 +08:00
Joel 4cc2303418 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 4e7ba9c0b6 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 e85a082514 fix: web error (#21340) 2025-06-23 13:54:52 +08:00
sayThQ199 27d6de4d03 feat(mermaid): Rearchitect component for robustness, security, and theming (#21281) 2025-06-20 19:55:58 +08:00
非法操作 d7145583d6 fix: not permitted schema of markdown link cause page crash (#21258) 2025-06-20 09:23:30 +08:00
sayThQ199 b43eb05060 fix(echarts): Resolve interaction issues on charts with timelines (#21185) 2025-06-18 20:22:33 +08:00
croatialu 3516ecdd3a feat: Embedded chat window supports userVariables configuration. (#20983) 2025-06-18 14:27:02 +08:00
XiaoCC c3fd2973fe fix Multiple <think>\n Interface rendering exception (#20977) 2025-06-18 11:31:04 +08:00
Bowen Liang c002ad97ea 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 1c1831f3db fix: prevent nodes from being unintentionally deleted by pressing the backspace key. (#21023) 2025-06-17 16:11:30 +08:00
Bowen Liang 387d154cd5 refactor: generalize method for getting doc link respecting locale and fix error link paths (#20801) 2025-06-13 10:58:43 +02:00
非法操作 324e9e9c8e fix: markdown button can't send message (#20933) 2025-06-12 08:18:15 +02:00
非法操作 7668f974a9 fix: some dark mode display incorrect (#20788) 2025-06-09 16:09:27 +08:00
NFish 784d5d8586 Fix/add webapp no permission page (#20819) 2025-06-09 15:44:49 +08:00
Joel 392b4e42d9 fix: missing bot name in orchestrate (#20747) 2025-06-06 16:44:36 +08:00
KVOJJJin 2cda81bcca Fix: style of radio checked (#20681) 2025-06-05 15:47:42 +08:00
Novice d2d48074ba fix: agent moderation not working (#20673) 2025-06-05 14:56:41 +08:00
NFish b86843d6f6 Fix/webapp access scope (#20109) 2025-06-05 10:55:17 +08:00
非法操作 80b691707e feat: allow fill inputs from url params (#20630) 2025-06-05 09:44:41 +08:00
sayThQ199 ea9a21afcc fix(markdown): Ensure abbr: links render correctly in react-markdown v9+ (#20648) 2025-06-04 19:52:12 +08:00
Bowen Liang 4691fb6527 chore: ensure web code consistency by applying pnpm fix (#20643) 2025-06-04 19:45:29 +08:00
Joel 117c13bd10 chore: fix some security issues in markdown (#20639) 2025-06-04 15:56:29 +08:00
kenwoodjw 00ea85cbe5 fix: autocorrect everything in web (#20605)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-06-04 14:12:24 +08:00
Bowen Liang 221cb0fc0a 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 471a007c85 fix: ensure newlines around think tags for proper markdown rendering (#20594) 2025-06-03 18:56:09 +08:00
Joel cf327f3be4 fix: agent thought replaced by response text (#20571) 2025-06-03 14:54:42 +08:00
KVOJJJin 16dcf5e6d3 Fix/dark theme style issues (#20566) 2025-06-03 13:53:24 +08:00