Commit Graph
3509 Commits
Author SHA1 Message Date
j-sanaa dddfb3c90e Fix/agentflow - Fixes for minor UI issues in extracted canvas (#6190)
* Fix c=incorrect color for edit nodes

* Fix to ensure all input fields have same width

* Fix accordian having an extra line

* Fix gemini comment

* Test fix
2026-04-10 16:41:40 -07:00
Jocelyn Lin e733ebcfde refactor(api): update caching mechanism in deduplicatedClient to differentiate TTL for GET and load-method responses (#6188) 2026-04-10 14:21:04 -07:00
Ilangoandyau-wd fd48519f41 fix: remove basic auth (#5680)
Co-authored-by: yau-wd <[email protected]>
2026-04-10 19:49:44 +08:00
aviu16andHenry Heng 1cbae24ca7 fix(evaluations): correct DoesNotContainAny/All operator logic (#6182)
* fix(evaluations): correct DoesNotContainAny/All operator logic

DoesNotContainAny was returning Pass when values were found and Fail
when they weren't — the result was inverted.

DoesNotContainAll was using the same logic as DoesNotContainAny instead
of checking whether all values are present. Fixed to only fail when
every specified value exists in the output.

* remove redundant toLowerCase and filter empty split values

value is already lowercased at line 92, so the per-element toLowerCase
is unnecessary. Also filter out empty strings from trailing commas.

* Update EvaluatorRunner.ts

---------

Co-authored-by: Henry Heng <[email protected]>
2026-04-10 12:19:37 +01:00
Anderson Martínez ade5b95f05 feat: Browserless MCP integration (#6171)
* feat: Browserless MCP integration

* fix: rename Browserless_MCP class to BrowserlessMCP
2026-04-10 12:04:34 +01:00
aviu16 92f07974d7 fix(evaluations): use correct total_cost property in CostCalculator (#6183)
* fix(evaluations): use correct total_cost property in CostCalculator

The condition on line 28 checked costValues.total_price, but the
property is total_cost everywhere else (models.json, evaluation
runners, etc.). Since total_price is always undefined, the branch
never executed and models that only define a flat total_cost rate
fell through to the input_cost/output_cost path, producing NaN.

* guard against missing totalTokens to prevent NaN
2026-04-10 11:45:34 +01:00
j-sanaa 6ad18cc6b4 Fix/agentflow Integration and verification test fixes (#6175)
* Fix JSON inout button not appearing

* Fix to display icons for vector embeddings and tools in Agent node

* Add variable syntax support to condition node

* Clear out existing values when operation is changed in Condition node

* Loop node  to show ancestral nodes

* Fix position and styling of "See Example"

* Refactor AsyncInput to remove duplicate logic

* Fix gemini comments

* Addressed review comments
2026-04-09 15:49:00 -07:00
Ilango e765367fdc fix: flowise-317 (#6168)
* fix: flowise-317

* fix: review feedback

* fix: add permission check to execute button in custom function node
2026-04-09 11:09:03 +01:00
Sahil Yuvraj kamble edff15219e Feat/docstore rename delete actions (optimised for dark theme) (#6144)
* feat(ui): add document store rename/delete actions for cards and table

* refactor(docstore): inline action button styles into index.jsx
2026-04-07 20:35:54 +01:00
mmattu-wd deb1330727 update eslint-plugin-jsx-a11y and remove pinned version for es-iterat… (#6159)
update eslint-plugin-jsx-a11y and remove pinned version for es-iterator-helpers
2026-04-07 08:34:59 -07:00
Sahil Yuvraj kamble 140f1d35a0 feat(ui): add accessible show/hide password toggle on signin (#6098) 2026-04-07 14:27:58 +05:30
Jocelyn Lin 5f85387e38 chore: update GitHub Actions dependency version (#6165)
- also fix a type error on agentflow example app
2026-04-06 17:30:17 -07:00
ming1523 57ac7bee92 docs: fix Hugging Face deployment links (#6124) 2026-04-07 00:39:45 +01:00
Manoj Kumar b9b4827e8a fix(agentflow): $flow.state inaccessible inside iteration node execution (#6142)
fix(agentflow): Fix $flow.state inaccessible inside iteration node execution
2026-04-07 00:37:48 +01:00
github-actions[bot]andgithub-actions[bot] 567bfe3ffa chore: bump @flowiseai/agentflow to 0.0.0-dev.10 (#6162)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-06 14:52:18 -07:00
j-sanaa e2ecc0b0a6 Fix/agentflow Add support for XML tag in markdown input and render markdown conditionally (#6145)
* Changes to limit markdown

* Remove extra content

* Test changes

* Add support to escape XML tags

* FIx lint errors

* Revert changes to server file

* Fix Gemini comments

* Fix gemini comments

* Refactor to remove duplicated logic
2026-04-06 11:52:25 -07:00
michaell-workday 833f911220 Add barrel export and exports map to packages/components (#6130)
* add barrel export and exports map

* pin dep for pre commit hook

* remove catch all as no need to support dist imports
2026-04-06 10:08:47 -07:00
jchui-wdandClaude Sonnet 4.6 8985c5ec55 feat: add client-scoped filtering to node input params (#6107)
* feat: add client-scoped filtering to node input params

Adds a `client` field to `INodeParams` and `INodeOptionsValue` so node
authors can restrict params or dropdown options to specific clients
(agentflowv2 canvas or agentflowsdk). The server filters params before
responding based on a `?client=` query param passed by each client.

- Add `ClientType = 'agentflowv2' | 'agentflowsdk'` to Interface.ts
- Add `client?: Array<ClientType>` to INodeParams and INodeOptionsValue
- Server nodes service: add filterNodeByClient() applied to all node fetch paths
- Server nodes controller: read and forward ?client= query param
- packages/agentflow API: pass ?client=agentflowsdk on all node fetches
- packages/ui API: pass ?client=agentflowv2 on all node fetches
- Add tests for filterNodeByClient and update agentflow node API tests

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Made-with: Cursor

* refactor: move filterNodeByClient to bottom of nodes service

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* fix: address PR review comments on client-scoped node filtering

- Validate ?client= query param against allowlist before casting to ClientType
- Extract VALID_CLIENT_TYPES const to flowise-components Interface.ts as single source of truth
- Make filterNodeByClient pure by returning a new object instead of mutating node.inputs
- Add immutability test to nodes.test.ts

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
2026-04-06 09:41:21 -07:00
Jocelyn Linandgemini-code-assist[bot] 2aeb9fff65 feat(agentflow): Add refresh button for Available Actions dropdown (#6134)
* feat(agentflow): Add refresh button for Available Actions dropdown

- Introduced a refresh button in AsyncInput and AsyncMultiOptionsInput components to allow users to re-fetch options dynamically.
- Updated InputParam interface to include a new `refresh` property.
- Enhanced tests to verify the visibility and functionality of the refresh button based on the `refresh` property.
- Adjusted loadMethodRegistry to ensure proper handling of credential and inputs for the `listActions` method.

This update improves user experience by providing a way to refresh options without needing to reload the entire component.

* wrap tests to a top layer describe

* Update packages/agentflow/src/features/node-editor/AsyncInput.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-04-06 08:45:08 -07:00
christopherholland-workdayandchristopherholland-workday f64047bdcf Fix Mass Assignment on Save Custom Template (#6129)
Co-authored-by: christopherholland-workday <[email protected]>
2026-04-06 21:07:12 +08:00
christopherholland-workdayandchristopherholland-workday 1cf247eab3 Fix Mass Assignment in Assistants Endpoints (#6128)
Co-authored-by: christopherholland-workday <[email protected]>
2026-04-06 20:27:47 +08:00
Sahil Yuvraj kamble 2555f10c11 feat(ui): add document store rename/delete actions for cards and table (#6041)
* feat(ui): add document store rename/delete actions for cards and table

* refactor(docstore): simplify local rename state update

* refactor(docstore): use DeleteDocStoreDialog in list delete flow and keep safe error fallback
2026-04-03 19:50:31 +08:00
Manoj Kumar 2827e01e06 fix(agentflow): resolve stale $flow.state reads in iteration node (#6099)
fix(agentflow): prioritize updated runtime state in iteration merge
2026-04-03 18:50:55 +08:00
cb1e1e3363 fix: better errors for sso login (#6113)
* add: logs for sso

* revert: logs but throw better login error for sso

* Update packages/server/src/enterprise/sso/SSOBase.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* fix: lint issues

* revert: error type check in sso login

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: yau-wd <[email protected]>
2026-04-03 16:20:31 +05:30
j-sanaa 56f272a476 Feat/agentflow Port Markdown Editor & Edit/Source Toggle from legacy UI to agentflow (#6125)
* Initial flow

* Fix markdown import shape

* Add support to check for HTML or markdown

* Fix values not being persisted

* Make implementation similar to v2

* Add vairable syntax support to expandDialog

* Add variable syntax support to messageInput

* Test cases added

* Remove eslint-disable

* Add getHtml as a fallback

* Fixed gemini comments

* Fix test cases and lint warnings

* Fixed editorUtils.test to not have nested structure

* Fix review comments
2026-04-02 15:15:17 -07:00
Jocelyn LinandClaude Opus 4.6 fedc6ebc82 feat(agentflow): enhance state management with StateKeyValueInput and variable support (#6119)
* feat(agentflow): enhance state management with StateKeyValueInput and variable support

- Added StateKeyValueInput component for managing key-value pairs in flow state updates.
- Integrated VariableInput for value fields to support variable syntax.
- Updated MessagesInput and ExpandTextDialog to utilize variable items for enhanced user experience.
- Introduced new types for state updates in core types.
- Enhanced Jest tests to cover new functionality and ensure reliability.

This update improves the flexibility and usability of state management within the agentflow package.

* fix(agentflow): address PR #6119 review feedback

- Add autoFocus prop to VariableInput, apply in ExpandTextDialog for
  consistent focus behavior with RichTextEditor fallback
- Extract duplicated VariableItem→SuggestionItem mapping into shared
  toSuggestionItems utility, used by MessagesInput and NodeInputHandler
- Remove redundant default export from StateKeyValueInput

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* clear selected key and update dropdown when a state key is removed

* cleanup unused type

---------

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
2026-04-02 12:10:51 -07:00
christopherholland-workday 49a2259bf2 Merge branch 'flowise-323-dataset' of https://github.com/FlowiseAI/Flowise into flowise-323-dataset 2026-04-02 10:11:03 -07:00
christopherholland-workday 18bb02fcdc Fix Mass Assignment in Dataset and DatasetRow Operations 2026-04-02 10:10:07 -07:00
christopherholland-workday 7a744ea600 Fix Mass Assignment in Dataset and DatasetRow Operations 2026-04-02 09:39:35 -07:00
christopherholland-workday 106920010c Fix Mass Assignment in Dataset and DatasetRow Operations 2026-04-02 09:39:35 -07:00
Jocelyn Lin 7df6e95c40 fix(ui): allow XML tag for markdown rich input (#6095)
* fix(ui): allow XML tag for rich input

- Introduced utilities for escaping and unescaping non-standard XML/HTML tags to preserve them during markdown processing.
- Updated RichInput and ExpandRichInputDialog components to utilize the new XML tag utilities for handling custom tags.
- Added Jest configuration for the UI package and created tests for the XML tag utilities to ensure functionality.
- Updated package.json to include Jest as a dependency and added a test script.

* address code review comments from Gemini

* allow html tag in markdown editor

* add test case for markdown format

* update dependency in ui
2026-04-02 09:02:07 -07:00
yau-wd c4e689b97a Feature/Add Audit and Deletion (#5994)
* feat(audit): add emitEvent and file-based audit logging

* fix(sanitize.util.ts): correct IPv6 sanitization for audit log IP masking

* feat(account): add account deletion

* fix(sanitize.util.ts): add recursive sanitization for nested metadata

* fix(MainLayout/Header/Workspace): refresh workspace list when clicking dropdown

* feat(views/account): require typed confirmation for account deletion
2026-04-02 22:15:05 +08:00
Ilango 1707688e62 fix: streaming response due to high number of redis pub/sub channels, better handling of connection issues (#6114)
* fix: unsubscribe redis pubsub when connection closes during prediction or after successful response

* update: add heartbeat to keep connection alive and start/stop heartbeat on server start/stop

* refactor: redis pub/sub methods, add unsubscribe, await subscribe

* fix: redundant unsubscribe

* fix: use map to store clients list

* fix: update how thinking event is handled in redis pub/sub and sse

* fix: review feedback
2026-04-02 13:14:40 +05:30
jslim-23andjoonlim 14b6e4159e fix(components): reuse extracted response content for ConditionAgent JSON parsing (#6072)
* fix: normalize conditionagent response content before parsing

* fix(components): reuse normalized response content in ConditionAgent

---------

Co-authored-by: joonlim <[email protected]>
2026-04-02 06:46:28 +08:00
Henry Heng d16c97eb23 Fix: restore token-by-token streaming for chains using createTextOnlyOutputParser (#6086)
fix: restore token-by-token streaming for chains using createTextOnlyOutputParser
2026-04-02 06:45:53 +08:00
Henry Heng 45e3ad6824 feat(ChatOllama): add 'think' input option for reasoning support (#6116) 2026-04-02 06:45:42 +08:00
Ilango 76c4fc9723 fix: lint issues (#6115) 2026-04-02 05:45:22 +08:00
lifandHenry Heng 0527333be0 fix: preserve sourceDocuments and metadata in ExecuteFlow node (#5972)
* fix: preserve sourceDocuments and metadata in ExecuteFlow node

The Execute Flow node in AgentFlow V2 was only extracting the text
content from chatflow responses, discarding sourceDocuments, usedTools,
artifacts, and fileAnnotations metadata. This fix preserves all metadata
fields in the return output and streams them via SSE when the node is
the last in the flow.

Fixes #5949

Signed-off-by: majiayu000 <[email protected]>

* fix: address review feedback on PR #5972

- Use object destructuring for response.data metadata extraction
- Extend SSE streaming test to cover artifacts and fileAnnotations

Signed-off-by: majiayu000 <[email protected]>

* Delete packages/components/nodes/agentflow/ExecuteFlow/ExecuteFlow.test.ts

* Update ExecuteFlow.ts

* Update ExecuteFlow.ts

---------

Signed-off-by: majiayu000 <[email protected]>
Co-authored-by: Henry Heng <[email protected]>
2026-04-02 01:10:15 +08:00
b93ccf3109 Add Permission Checks to Vector Store API's (#6045)
* Add Permission Checks to Vector Store API's

* Update packages/server/src/routes/openai-assistants-vector-store/index.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: christopherholland-workday <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: yau-wd <[email protected]>
2026-04-01 09:51:56 -07:00
lifandHenry Heng 9f96992d7e fix: skip empty metadata filter in RetrieverTool to prevent vector store error (#5976)
* fix: skip empty metadata filter in RetrieverTool to prevent vector store error

When a user adds an "Additional Metadata Filter" then removes it, the
empty filter object {} was still passed to the vector store, causing
Pinecone (and potentially others) to reject it with "You must enter a
filter object with at least one key-value pair." Now checks that the
resolved filter has at least one key before assigning it.

Fixes #4900

Signed-off-by: majiayu000 <[email protected]>

* fix: rename metadatafilter to metadataFilter for camelCase consistency

Signed-off-by: majiayu000 <[email protected]>

* Delete packages/components/nodes/tools/RetrieverTool/RetrieverTool.test.ts

---------

Signed-off-by: majiayu000 <[email protected]>
Co-authored-by: Henry Heng <[email protected]>
2026-04-02 00:46:01 +08:00
Frank cc2a87eb9e fix(gmail): include draft id in update_draft tool schema (#5925)
* fix(gmail): require draft id in update_draft schema

* fix(gmail): validate update_draft id format
2026-04-01 22:48:45 +08:00
Ilangoandyau-wd 6d668fbba1 feat: email change confirmation flow (#5992)
* fix: update stripe email when changing email in account settings

* fix: review feedback

* fix: circular dependency, destroy all sessions on email change

* add: email change confirmation flow + smtp available check + enable email flows for oss and enterprise

* add: confirm email change page. update: change email behavior in account settings

---------

Co-authored-by: yau-wd <[email protected]>
2026-04-01 20:16:13 +05:30
dc07f4062b Fix IDOR in Evaluators and Evaluations Endpoints (#6050)
* Fix IDOR in Evaluators and Evaluations Endpoints

* chore(services/evaluations & EvaluatorDTO): replace explicit field assignment with stripProtectedFields

---------

Co-authored-by: christopherholland-workday <[email protected]>
Co-authored-by: yau-wd <[email protected]>
2026-04-01 22:32:43 +08:00
Abdul Samad Siddiqui 4fc67b153a fix(models): correct multiple model label typos (Groq, Mistral, Bedrock) (#6104)
* fix(models): correct multiple model label typos in dropdown menus

* review resolved
2026-04-01 18:40:16 +08:00
0d29e4d0df Fix Mass Assignment in Chatflow Endpoints (#5953)
* Fix Mass Assignment in Chatflow Endpoints

* Fix Mass Assignment in Tools Endpoint

* Revert "Fix Mass Assignment in Tools Endpoint"

This reverts commit ed42f048eb.

* Fix Mass Assignment in Chatflow Endpoints

* chore(controllers/chatflows): replace explicit field assignment with stripProtectedFields

---------

Co-authored-by: christopherholland-workday <[email protected]>
Co-authored-by: yau-wd <[email protected]>
2026-04-01 18:26:36 +08:00
github-actions[bot]andgithub-actions[bot] 6565c9090e chore: bump @flowiseai/agentflow to 0.0.0-dev.9 (#6106)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-31 14:36:20 -07:00
j-sanaa e2351c5821 Feat/agentflow add support for Variable System & Syntax Support (#6067)
* Initial flow

* Add tiptap - mention dependency similar to v2

* Add functionalities similiar to V2

* update to tiptap to 3.20.4

* Fix lint error

* Added missiing test cases for new files

* Styling changes

* InputMessage should be visible on initial load

* Fix gemini comment

* Remove outdated SelectVariable

* Add icon support similar to v2

* Fix gemini comments

* Remove input folder and utils folder under atoms

* Fix test error

* Fix initlalDefualts not being set

* Fix after merge with main

* Fixes for review comments

* Fix review comments

* New test cases added for fixes

* Remove additional space
2026-03-31 14:15:52 -07:00
christopherholland-workdayandchristopherholland-workday faa571c961 Mass Assignment in Assistant Update Endpoint (#5945)
* Mass Assignment in Assistant Update Endpoint Allows Cross-Workspace Resource Reassignment

* Mass Assignment in Assistant Update Endpoint Allows Cross-Workspace Resource Reassignment

* Mass Assignment in Assistant Update Endpoint Allows Cross-Workspace Resource Reassignment

* Mass Assignment in Assistant Update Endpoint

---------

Co-authored-by: christopherholland-workday <[email protected]>
2026-03-31 23:02:05 +08:00
Mewyii 24e713b99e mini-feat: Store page sizes of views in local storage (#5830)
* page sizes for agent execution view, agentflow view, chatflow view and docstore view are now stored in local storage.

* Code improvements.
2026-03-31 21:33:34 +08:00
Abdul Samad Siddiqui 6412c204c8 fix(models): correct o4-mini pricing under chatOpenAI (#6079)
fix(models): correct o4-mini pricing to fix 86% underbilling bug
2026-03-31 20:58:32 +08:00