Commit Graph

2787 Commits

Author SHA1 Message Date
Henry Heng 5dd30b1a70
Bugfix/Update api code dialog for agentflowv2 (#4726)
update api code dialog for agentflowv2
2025-06-25 11:35:24 +01:00
Henry Heng d5bc718246
Bugfix/Concatenate overrideconfig array (#4720)
concatenate overrideconfig array
2025-06-24 21:59:56 +01:00
Henry Heng 3f26569e6e
Bugfix/Multiple Human Input Nodes (#4718)
Refactor: Remove humanInput parameter from determineNodesToIgnore function

- Updated the determineNodesToIgnore function to eliminate the humanInput parameter, simplifying the logic for decision nodes.
- Adjusted related function calls to ensure compatibility with the new signature.
- Enhanced handling of humanInput within the executeNode function, ensuring it is cleared after consumption to prevent unintended behavior in subsequent nodes.
2025-06-24 19:30:50 +01:00
Henry Heng 397ba63d60
Bugfix/Circular Dependency of updateStorageUsage and checkStorage in utils (#4717)
fix circular dependency of updateStorageUsage and checkStorage in utils
2025-06-24 17:24:45 +01:00
Henry Heng 4038eb13fc
Bugfix/GoogleDrive Loader Folder id (#4714)
* fix google drive loader folder id

* lint fix
2025-06-24 09:53:42 +01:00
Henry Heng 2e42dfb635
Bugfix/Gemini Structured Output (#4713)
* fix gemini structured output

* update issues templates
2025-06-23 19:10:41 +01:00
toi500 602054e509
Feature/Add PWA Functionality (#4672)
add PWA functionality
2025-06-22 15:27:09 +01:00
Henry Heng 543800562e
Chore/API for AgentflowV2 (#4696)
* Enhancement: Introduce prepended chat history handling in Agent and LLM nodes.

- Added support for `prependedChatHistory` in both `Agent` and `LLM` classes to allow for initial message context.
- Implemented validation for history schema in execution flow to ensure proper format.
- Refactored utility functions to include JSON sanitization and validation methods for improved data handling.

* update prediction swagger
2025-06-22 13:16:35 +01:00
Henry Heng 035b5555a9
Bugfix/HTTP Node Body Parsing (#4694)
Enhancement: Add JSON sanitization and parsing methods to HTTP agentflow.

- Introduced `sanitizeJsonString` to clean problematic escape sequences and fix common JSON formatting issues.
- Added `parseJsonBody` to attempt parsing JSON directly, with fallback to sanitization if parsing fails, providing clearer error messages for invalid JSON.
- Updated request handling to utilize the new parsing method for JSON and x-www-form-urlencoded body types.
2025-06-20 12:29:55 +01:00
Vinod Kiran 9a60b7b223
New Feature: Ability to change role for a workspace user. (#4616)
* New Feature: Ability to change role for a workspace user.

* reverting some of the changes in workspace-user.service.ts and minor code cleanup in the ui components.

* chore: refactor updateWorkspaceUser function queryRunner handling

---------

Co-authored-by: chungyau97 <chungyau97@gmail.com>
2025-06-19 18:37:29 +01:00
Henry Heng a107aa7a77
Chore/Update issue templates and add new tools (#4687)
* Enhancement: Update issue templates and add new tools

- Updated bug report template to include a default label of 'bug'.
- Updated feature request template to include a default label of 'enhancement'.
- Added new credential class for Agentflow API.
- Enhanced Agent and HTTP nodes to improve tool management and error handling.
- Added deprecation badges to several agent and chain classes.
- Introduced new tools for handling requests (GET, POST, DELETE, PUT) with improved error handling.
- Added new chatflows and agentflows for various use cases, including document QnA and translation.
- Updated UI components for better handling of agent flows and marketplace interactions.
- Refactored utility functions for improved functionality and clarity.

* Refactor: Remove beta badge and streamline template title assignment

- Removed the 'BETA' badge from the ExtractMetadataRetriever class.
- Simplified the title assignment in the agentflowv2 generator by using a variable instead of inline string manipulation.
2025-06-19 18:11:24 +01:00
Kang Nahoon 15dd28356b
fix: Modify the style of the AsyncDropdown component (#4642)
* bugfix/Modify the style of the AsyncDropdown component to adjust its width based on the multiple property. #4641

* style: fix linter warning

* style: fix linter warning

* style: fix linter warning

---------

Co-authored-by: 강나훈 <nahoon.kang@mnc.ai>
2025-06-16 19:05:17 +01:00
Henry Heng 8ba1a09077
Bugfix/Update worker docker (#4643)
update worker docker
2025-06-12 17:25:43 +01:00
Henry Heng 306b6fbb31
Release/3.0.2 (#4629)
flowise@3.0.2
2025-06-11 14:18:51 +01:00
toi500 3d2c5c90e9
Fix: Correct formatting of Condition Agent prompt (#4626) 2025-06-11 14:07:02 +01:00
toi500 dfb401ad83
feat: Add configurable system prompt to Condition Agent (#4587)
* feat: Add configurable system prompt to Condition Agent

* Update system prompt to HTML for UI readability

* fix: Remove invalid default routing and sync hardcoded role-based examples

* Update ConditionAgent.ts

* Update ConditionAgent.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-06-10 18:38:02 +01:00
Ong Chung Yau 21caedde72
feature/single-organization-limit (#4620)
feat: enforce single organization limit during registration
2025-06-10 16:12:09 +01:00
Vinod Kiran e17994d8fe
Evaluations for Agentflows v2 & Assistants (#4589)
* New Feature: Evaluations for AgentFlow v2

* New Feature: Evaluations for Assistants and minor tweaks on other evaluations.

* do not store messages during evaluation for agent flows.

* common cost formatting

* moving the category names to description (in create dialog) and adjusting the side drawer label

* lint fixes

* Enhancement: Add auto-refresh toggle for evaluations with 5-second interval and adjust grid item size for metrics display.

* 1) chatflow types are stored in additional config
2) messages are now stored with type "Evaluations"
3) Message Dialog has a new Type in the ChatType Filter Dropdown
4) Chatflow badges on the view page, have the right canvas URL
5) outdated API returns chatflow type along with the stale indicator.
6) UI - Flow Indicator Icons are shown in the Chatflows Used chips & side drawer

* Refactor JWT error handling to return 401 status for expired refresh tokens. Update chat message ID assignment to remove UUID fallback. Enhance ViewMessagesDialog to set default chat type filters and implement a new method for determining chat type sources. Modify EvalsResultDialog to open links in a new tab and adjust icon sizes for better consistency. Clean up unused imports in EvaluationResultSideDrawer.

* handling on Click for deleted flows and minor code cleanup

* evals ui fix

* Refactor evaluation service to improve error handling and data parsing. Update additionalConfig handling to default to an empty object if not present. Enhance type definitions for better clarity. Adjust MetricsItemCard to prevent overflow and improve layout consistency.

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-06-10 16:11:22 +01:00
Sai Shreya Kumar f644c47251
fix(docker): uncomment required env variables (#4606)
* fix(docker): uncomment required env variables

* fix(env): uncomment required JWT variables in Server .env.example
2025-06-09 13:19:02 +01:00
Henry Heng f45ca72df2
Bugfix/Default jwt vars (#4614)
fix default jwt vars
2025-06-09 00:49:50 +01:00
zuyuanceo 8272283618
fix bug:JSON Parse Error in authSlice.js: Parsing 'undefined' Value C… (#4612)
fix bug:JSON Parse Error in authSlice.js: Parsing 'undefined' Value Causes Blank Page#4611
2025-06-09 00:40:30 +01:00
zuyuanceo 12b4259a01
fix bug:The enqueueSnackbar Snackbar notification cannot auto-close. … (#4610)
fix bug:The enqueueSnackbar Snackbar notification cannot auto-close. #4608
2025-06-09 00:40:20 +01:00
Henry Heng 2387a06ce4
Feature/GoogleDocs (#4613)
* add teams, gmail, outlook tools

* update docs link

* update credentials for oauth2

* add jira tool

* add google drive, google calendar, google sheets tools, powerpoint, excel, word doc loader

* update jira logo

* Refactor Gmail and Outlook tools to remove maxOutputLength parameter and enhance request handling. Update response formatting to include parameters in the output. Adjust Google Drive tools to simplify success messages by removing unnecessary parameter details.

* Update pnpm-lock.yaml

* add google docs
2025-06-09 00:30:03 +01:00
Henry Heng 6495c64dac
Feat/add headers to custom mcp (#4581)
* add headers to custom mcp

* Refactor MCP fetch method and update CustomMCP documentation to include variable usage in headers
2025-06-07 16:23:42 +01:00
Henry Heng 02a6753498
Bugfix/Overrideconfig Analytics in AgentflowV2 (#4599)
* fix(utils/buildAgentflow): enhance analytic handler configuration to support overrides

* fix(agentflow): integrate analytic handlers for tool execution tracking
2025-06-07 01:53:31 +01:00
Ahmed Rowaihi 7dfa269502
fix(components/weaviate): fix metadata special chars upsertion failure (#4436)
* Enhancement: Add recursive key normalization for metadata in Weaviate vector store

- Introduced `normalizeKeysRecursively` utility to standardize metadata keys.
- Updated Weaviate vector store to apply normalization on document metadata before processing.

* format(compnonents/utils): format for ci

* Update utils.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-06-07 00:19:02 +01:00
Ademílson Tonato 0c5f7ea003
feat: add search functionality to FireCrawl with customizable parameters (#4535)
* feat: add search functionality to FireCrawl with customizable parameters

* refactor: unify request parameters in FireCrawl to include integration identifier

* Update FireCrawl Document Loader to version 4.0, enhancing parameter labels and adding conditional visibility for URL and crawler options based on selected crawler type.

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-06-07 00:06:39 +01:00
Henry Heng 30c4180d97
Feature/Add teams, gmail, outlook tools (#4577)
* add teams, gmail, outlook tools

* update docs link

* update credentials for oauth2

* add jira tool

* add google drive, google calendar, google sheets tools, powerpoint, excel, word doc loader

* update jira logo

* Refactor Gmail and Outlook tools to remove maxOutputLength parameter and enhance request handling. Update response formatting to include parameters in the output. Adjust Google Drive tools to simplify success messages by removing unnecessary parameter details.
2025-06-06 19:52:04 +01:00
Ong Chung Yau 6dcb65cedb
feature/cli-reset-password (#4585)
* feat: add cli to reset password

* chore: add information for password reset command

* fix: add information for password reset command
2025-06-06 19:16:16 +01:00
Henry Heng 2cd8db0c53
Bugfix/Generator Prompt Markdown Format (#4592)
* add ui fixes

* refactor: update image structure in CustomAssistantLayout to use object format
2025-06-06 18:07:43 +01:00
Kang Nahoon 8793ed628c
bugfix/Fix SQL syntax error when reverting migration in MariaDB (#4565)
* Bugfix/Use backticks when dropping `errors` column for MariaDB compatibility (#4564)

* Bugfix/Use backticks when dropping `sequence_no` column for MariaDB compatibility (#4564)

* Bugfix/Use backticks when dropping sso columns for MariaDB compatibility (#4564)
2025-06-05 19:31:16 +01:00
Ong Chung Yau 5f7f83a5d2
feature/apiloader-ca-upload (#4533)
feat: add CA(.pem, .crt) upload in API Loader
2025-06-05 19:29:52 +01:00
Henry Heng d134b66bd8
Bugfix/tool node selected tool (#4579)
* fix tool node selected tool

* fix tool node config

* update node to display tool node icons
2025-06-04 17:54:36 +01:00
Henry Heng aa0984e802
Bugfix/Tool node selected tool (#4578)
fix tool node selected tool
2025-06-04 13:44:09 +01:00
Henry Heng 63ff703e7a
Chore/standardize password criteria (#4550)
standardize password criteria
2025-06-01 10:41:47 +01:00
Henry Heng a88337cc83
Bugfix/config input for multiple same fields (#4548)
* fix config input for multiple same fields

* fix custom tool not selected
2025-05-31 17:03:03 +01:00
Henry Heng eb69b23d73
Chore/add loggers (#4541)
add loggers
2025-05-29 22:36:48 +01:00
Henry Heng 7c803f4e0b
Release/3.0.1 (#4537)
flowise@3.0.1
2025-05-29 17:49:17 +01:00
Henry Heng 979920ff7f
Bugfix/Update import api keys (#4536)
update import api keys, remove redundant functions
2025-05-29 17:40:27 +01:00
eriksonssilva 6f8079f6ee
fix: allow non-UUID sessionId by changing column type to varchar (#4457)
* fix: allow non-UUID sessionId by changing column type to varchar

* update postgres migration

* Update pnpm-lock.yaml

---------

Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-28 18:05:24 +01:00
Henry Heng 954e6c88f4
Feat/add supergateway MCP (#4303)
* add supergateway MCP

* update supergateway mcp
2025-05-28 17:21:01 +01:00
Saket Aryan 9682a0ccd9
feat:Adds new Param in getChatMessages for better context handling (#4273)
* Adds Current Message Param in getChatMessages to use Mem0 more effectively

* Revert "Adds Current Message Param in getChatMessages to use Mem0 more effectively"

This reverts commit 086be60b0a.

* Used the input param for Getting the Input text inside of Mem0 Node

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

---------

Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-28 16:02:52 +01:00
russelj1 27bc47ed57
Feature: Add dot notation support for nested output variable resolution (#4506)
Add dot notation support for nested output variable resolution
2025-05-28 15:24:43 +01:00
Henry Heng da8d0f12d6
Bugfix/Disable default user input if memory is disabled for first node (#4530)
disable default user input if memory is disabled for first node
2025-05-28 15:04:45 +01:00
Henry Heng 3d6bf72e73
Feature/Custom MCP vars (#4527)
* add input vars to custom mcp

* add ability to specify vars in custom mcp, fix other ui issues

* update setup org ui
2025-05-28 12:47:53 +01:00
Henry Heng 2baa43d66f
Bugfix/Resolve variable from http node (#4518)
resolve variable from http node
2025-05-28 01:47:04 +01:00
Anoop P 7ef0e99eb2
Feature: add tooltip display on icon hover in chatflows and marketplace page (#4428)
* feat: add tooltip display on icon hover in chatflows and marketplace page

* update list view, remove sticky note images

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-05-27 21:34:10 +01:00
corentin-hoareau 82d60c7d15
Feature: extends ReactFlow controls with snapping functionality (#4482)
* Feature: extends ReactFlow controls with snapping functionality

* Adds snapping on other flows

* lint fix, add dark mode, fix marketplace canvas

---------

Co-authored-by: Corentin <corentin.hoareau@sogeti.com>
Co-authored-by: Henry <hzj94@hotmail.com>
2025-05-27 19:54:33 +01:00
nikitas-novatix 4326cbe6b5
Fix: Patching redis socket crash fix (#4431)
* redis keepalive mechanism for all redis

* removed offline queue commands

* Simplified changes for consistency. Added REDIS_KEEP_ALIVE env variable.

* update redis socket alive env variable

* lint fix

* put pingInterval back again because it's needed

* removed comment

* linting

---------

Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-27 19:54:17 +01:00
nikitas-novatix 7e7ff24941
BugFix/Patch: PostGreSQL Record Manager (#4430)
* removed the pgcrypto extension creation (Azure bug)

* changing "now" to "extract"
2025-05-27 19:54:00 +01:00
Esteban Josse 729043bcba
Feature: add missing chat mistral ai models (#4492)
* add codestral-latsest and devstral-small-2505 models to chatMistralAI

* Update models.json

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-27 18:58:08 +01:00
Henry Heng d06b7d7aef
Bugfix/Google Gemini Image Input (#4515)
always allow image input for all gemini llms
2025-05-27 18:48:43 +01:00
Henry Heng 07b251b4bc
Bugfix/Duplicate from list view (#4514)
duplicate from list view
2025-05-27 18:27:10 +01:00
Henry Heng 01dab4365a
Bugfix/AgentflowV2 State (#4512)
* add persistence state, http node variables, custom function flow state

* update marketplace templates
2025-05-27 18:01:39 +01:00
Ademílson Tonato 572fb31a1c
chore: update Firecrawl version and add FirecrawlExtractTool (#4073)
* chore: update Firecrawl version and add FirecrawlExtractTool

* refactor: update outputs format

* chore: update Firecrawl request headers to include X-Origin and X-Origin-Type

* feat: add FireCrawl testing suite for scraping, crawling, and data extraction

- Introduced FireCrawl-TEST.ts to validate FireCrawlLoader functionality.
- Implemented tests for basic scraping, crawling with text splitting, data extraction, and extract status retrieval.
- Enhanced error handling in FireCrawlLoader for better debugging.

* Update pnpm-lock.yaml

* refactor: FireCrawl API integration to improve parameter handling and error logging

* refractor firecrawl

* Update FireCrawl.ts

removed console log

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

---------

Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-27 14:58:35 +01:00
korade-krushna eca190dca6
[ BUG #4498] Use Correct Key For Basic Auth and Optional Password (#4501)
Use Correct Key For Basic Auth and Optional pass

Co-authored-by: Krishna Korade <kkorde@aistrike.com>
2025-05-27 14:36:20 +01:00
Henry Heng 0dd6c5b2b9
Bugfix/Update array item config correctly (#4510)
update array item config correctly
2025-05-27 14:29:58 +01:00
Henry 66bf0749af removed hardcoded default host 2025-05-27 07:51:20 +01:00
Henry Heng 5a37227d14
Chore/refractor (#4454)
* markdown files and env examples cleanup

* components update

* update jsonlines description

* server refractor

* update telemetry

* add execute custom node

* add ui refractor

* add username and password authenticate

* correctly retrieve past images in agentflowv2

* disable e2e temporarily

* add existing username and password authenticate

* update migration to default workspace

* update todo

* blob storage migrating

* throw error on agent tool call error

* add missing execution import

* add referral

* chore: add error message when importData is undefined

* migrate api keys to db

* fix: data too long for column executionData

* migrate api keys from json to db at init

* add info on account setup

* update docstore missing fields

---------

Co-authored-by: chungyau97 <chungyau97@gmail.com>
2025-05-27 07:29:42 +01:00
Henry Heng e35a126b46
Chore/Gemini 2.5 Flash (#4489)
* add gemini flash

* add gemin flash to vertex

* add gemin-1.5-flash-preview to vertex

* add azure gpt 4o

* add claude 3.5 sonnet

* add mistral nemo

* add groq llama3.1

* add gpt4o-mini to azure

* o1 mini

* add groq llama 3.2

* update anthropic models

* add 3.5 haiku

* update vertex embedding models

* add azure o1 models

* add o3 mini

* add wolframalpha tool

* Update pnpm-lock.yaml

* add claude sonnet 3.7 to vertex and bedrock

* Update pnpm-lock.yaml

* update gemini
2025-05-23 14:06:14 +08:00
Henry Heng 9bc6bfed69
Chore/Claude 4 (#4488)
* add gemini flash

* add gemin flash to vertex

* add gemin-1.5-flash-preview to vertex

* add azure gpt 4o

* add claude 3.5 sonnet

* add mistral nemo

* add groq llama3.1

* add gpt4o-mini to azure

* o1 mini

* add groq llama 3.2

* update anthropic models

* add 3.5 haiku

* update vertex embedding models

* add azure o1 models

* add o3 mini

* add wolframalpha tool

* Update pnpm-lock.yaml

* add claude sonnet 3.7 to vertex and bedrock

* Update pnpm-lock.yaml
2025-05-23 13:49:36 +08:00
Henry Heng cf67afb078
Bugfix/add missing imports (#4476)
add missing imports
2025-05-21 15:06:30 +08:00
Henry Heng 86782e9971
Bugfix/throw error on agent tool call error (#4464)
throw error on agent tool call error
2025-05-20 14:47:21 +08:00
Henry Heng 6cf1c82f04
Bugfix/correctly retrieve past images in agentflowv2 (#4453)
correctly retrieve past images in agentflowv2
2025-05-18 18:16:17 +08:00
k-santos 9170cac58b
bugfix: change field to be optional (#4446)
fix: make customModelName field as optional
2025-05-18 18:16:08 +08:00
Henry Heng cd36924bf4
Feature/add remove button to edge (#4444)
add remove button to edge
2025-05-17 01:44:36 +08:00
Henry Heng 4786aafddc
Bugfix/execute custom function to worker (#4440)
* pass execute custom function to worker

* update execute function
2025-05-16 15:32:21 +08:00
Henry Heng 0a4570ecda
Bugfix/pass execute custom function to worker (#4432)
pass execute custom function to worker
2025-05-16 01:13:25 +08:00
Henry Heng a6e64230b4
Release/3.0.0 (#4425)
release@3.0.0
2025-05-15 09:30:18 +08:00
Henry Heng 624143ad15
Chore/disable telemetry by default (#4427)
disable telemetry by default
2025-05-15 00:19:05 +08:00
Henry a27826cdc0 update fav icons 2025-05-14 23:55:10 +08:00
k-santos 761a6416ab
bugfix: fix the presentation of the source (#4400)
fix: add case to source handler
2025-05-14 10:30:56 +08:00
Henry Heng 82d16458e4
Bugfix/Update file loader (#4420)
* update file loader

* delete temp for o1

* fix tavily
2025-05-14 10:30:33 +08:00
nikitas-novatix eadf1b11b3
Fix: Add keep-alive options to Redis clients to prevent idle timeouts and socket closing. (#4377)
* redis keepalive mechanism for all redis

* removed offline queue commands

* Simplified changes for consistency. Added REDIS_KEEP_ALIVE env variable.

* update redis socket alive env variable

* lint fix

---------

Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-14 10:29:32 +08:00
Henry Heng 98e75ad7d6
Bugfix/ui streaming when model streaming is off (#4424)
fix ui streaming when model streaming is off
2025-05-14 00:07:54 +08:00
toi500 a8f990c242
Feature/add Deep Research V2 Template (#4422)
add new V2 template
2025-05-13 11:05:03 +08:00
Henry Heng 4a0e86b30f
Chore/update i18n readme (#4418)
* update i18n readme

* update server README
2025-05-11 20:42:28 +08:00
Henry Heng 10f85ef47e
Bugfix/Update agentflow v2 events to redis subscriber (#4415)
update agentflow v2 events to redis subscriber
2025-05-11 18:43:28 +08:00
Henry Heng 7924fbce0d
Feature/agentflow v2 (#4298)
* agent flow v2

* chat message background

* conditon agent flow

* add sticky note

* update human input dynamic prompt

* add HTTP node

* add default tool icon

* fix export duplicate agentflow v2

* add agentflow v2 marketplaces

* refractor memoization, add iteration nodes

* add agentflow v2 templates

* add agentflow generator

* add migration scripts for mysql, mariadb, posrgres and fix date filters for executions

* update agentflow chat history config

* fix get all flows error after deletion and rename

* add previous nodes from parent node

* update generator prompt

* update run time state when using iteration nodes

* prevent looping connection, prevent duplication of start node, add executeflow node, add nodes agentflow, chat history variable

* update embed

* convert form input to string

* bump openai version

* add react rewards

* add prompt generator to prediction queue

* add array schema to overrideconfig

* UI touchup

* update embedded chat version

* fix node info dialog

* update start node and loop default iteration

* update UI fixes for agentflow v2

* fix async drop down

* add export import to agentflowsv2, executions, fix UI bugs

* add default empty object to flowlisttable

* add ability to share trace link publicly, allow MCP tool use for Agent and Assistant

* add runtime message length to variable, display conditions on UI

* fix array validation

* add ability to add knowledge from vector store and embeddings for agent

* add agent tool require human input

* add ephemeral memory to start node

* update agent flow node to show vs and embeddings icons

* feat: add import chat data functionality for AgentFlowV2

* feat: set chatMessage.executionId to null if not found in import JSON file or database

* fix: MariaDB execution migration script to utf8mb4_unicode_520_ci

---------

Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
Co-authored-by: chungyau97 <chungyau97@gmail.com>
2025-05-10 10:21:26 +08:00
Ong Chung Yau 82e6f43b5c
fix/import-missing-chat-data (#4401)
fix: add missing imports for messages and feedbacks in AgentFlow and AssistantFlow
2025-05-08 18:43:28 +08:00
nikitas-novatix e467d0615c
Fix(PostgresRecordManager): Handle time correctly and ensure schema creation (#4381)
added pgvector check and time handling for postgresql record manager
2025-05-07 00:27:47 +08:00
Adolfo Usier ac9d732550
Updated the Groq chat node and also Llama Index Groq node. #4383 (#4384)
* adding DeepSeekr1 distill to groq

* Added max_tokens to groq.ts and chatGroqLlamaindex.ts plus updated groq models removing the outdated models and adding new models such as compound-beta

* Patched OpenAI typo on ChatGroq_LLamaIndex.ts

* Patching groq llamaindex

* Patched pnpm lint error

* Removed retundant image

* Update ChatGroq_LlamaIndex.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-07 00:15:32 +08:00
patrickreinan d75e847091
Feature/added litellm component (#4327)
* feat: add ChatLitellm component and LitellmApi credential

* fix: lint errors

* Update LLMFilterCompressionRetriever.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-06 22:41:49 +08:00
Henry Heng c3610ff3c7
Chore/Close mcp connection (#4375)
* close mcp connection

* update file types
2025-05-06 10:28:18 +08:00
Ong Chung Yau df26e8aef9
feature/add-perplexity-node (#4376)
* added perplexity node

* last stable release

* Update ChatPerplexity.ts

* update

* Update ChatPerplexity.ts

* Update ChatPerplexity.ts

* pnpm lint fix

* feat: update @langchain/community from 0.3.24 to 0.3.29

---------

Co-authored-by: Marvin <marvin.chin@regentmarkets.com>
2025-05-05 14:34:07 +08:00
Henry Heng b55fe07511
Feature/add enable bull dashboard env var (#4373)
add enable bull dashboard env var
2025-05-04 21:55:16 +08:00
Anoop P 8157dce8ee
fix: update correct label for InputLabel component (#4371) 2025-05-02 21:59:18 +07:00
toi500 f5b9c6907e
fix(nodes): Correct path and case sensitivity for Cheerio Web Scraper icon (#4359)
* fix Cheerio Web Scraper for online deployments

* fix: change node name
2025-05-02 21:53:00 +07:00
Aditya Addanki e1979e42c3
added_o4mini_model (#4365)
* added_o4mini_model

* fix: pnpm run lint-fix

---------

Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
2025-05-01 18:05:30 +08:00
Henry Heng 5b4693cca3
Release/2.2.8 (#4354)
release@2.2.8
2025-04-28 15:56:39 +08:00
toi500 925ca7be81
Feature/Add Cheerio Web Scraper node (#4337)
* feat: add Free Web Scraper tool

* fix: remove unused variable 'finalCount'

* feat(tools): Add configurable timeout to handle edge scenarios

* add sitemap mode and rename Cheerio Web Scraper node

* refactor: simplify tool description for broader LLM compatibility
2025-04-28 15:45:36 +08:00
May Ramati Kroitero 6dcc7bb152
feature: add additional parameters to Tavily API tool (#4353)
* feat: add additional parameters to Tavily API tool

* update descirption

* fix version

* lint fix

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-28 15:45:05 +08:00
Vinod Kiran ddeb59169b
Better Error reporting for document store operations. (#4350)
* Better Error reporting for document store operations.

* Update packages/ui/src/ErrorBoundary.jsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update index.ts

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-27 13:23:58 +08:00
Hans fc6eea7653
Support custom base URL for ChatGoogleGenerativeAI (#4347)
feat: Support custom base URL for ChatGoogleGenerativeAI
2025-04-27 12:15:17 +08:00
Zero Gu ac0450523a
Feature: Upgrade MCP version and support SSE mode. (#4329)
Upgrade MCP version and support SSE mode.

Co-authored-by: guwenjia <guwenjia@bilibili.com>
2025-04-27 12:13:06 +08:00
Vinod Kiran f8ca105822
Adding cost metrics for mistral range of models (#4338) 2025-04-27 10:56:52 +08:00
Vinod Kiran 68d3c83980
changes & fixes for various issues in chatflow config (#4314)
* Chatflow config - rate limit and override config were overwriting changes.

* prevent post processing JS function from escaping as JSON...

* non-streaming follow up prompts need to be escaped twice

* prevent post processing JS function from escaping as JSON...

* Adding file mimetypes for full file upload...

* lint..

* fixing the issue with storing only filtered nodes..

* return doc store processing response without await when queue mode and request is from UI

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-04-23 22:58:37 +08:00
Vinod Kiran 9c1652570e
adding cost values to models.json file (#4330)
* updating cost values to models.json file

* Update models.json

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-23 19:10:53 +08:00
Nick Wong ddba891dcb
Fix: Default vision model overriding custom model name for AWS Chat Bedrock. (#4309)
fix condition to not default to claude haiku when custom model name is provided
2025-04-18 20:30:45 +08:00
Shibin Das 9d9135bed5
feat: add "Jira" document loader (#4247) (#4248)
* feat: add "Jira" document loader (#4247)

* chore: Remove console.log

* Update Jira.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-16 02:54:16 +08:00
Zubair Khalid a7b4ae733f
[FEATURE] Show time with date for last modified date for chatflow/agentflow/credentials/variables (#4300)
feat(ui): show time with date for last modified date for chatflow/agentflow/credentials/variables

Co-authored-by: coolpengwing <coolpengwing@gmail.com>
2025-04-16 00:14:22 +08:00
Asharib Ali e75c831beb
feat: Add GPT-4.1 series models support (#4305)
* feat: add GPT-4.1 series models support to OpenAI Assistant Dialog

* Update models.json

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-16 00:14:09 +08:00
Arif Romadhan 416e57380e
add history chat timestamp in mongodb (#4296) 2025-04-15 02:39:37 +08:00
Mehdi 54d1b5e3bb
feat(feedback): add validation for feedback creation and update (#4260)
* feat(feedback): add validation for feedback creation and update

Introduced validation functions for feedback creation and update in the new validation service.
Updated feedback controller to utilize these validation functions before processing requests.

* refactor(feedback): update validation to return feedback object

- Modified validateFeedbackExists to return the ChatMessageFeedback object instead of a boolean.
- Updated validateFeedbackForUpdate to utilize the returned feedback object for setting default values.
2025-04-15 02:38:02 +08:00
faisal.rafi 9d9b40a326
fix: Correct typos in Prompt Engineering Team.json (#4286)
fix: correct typos

Co-authored-by: faisal rafiuddin <faisalrafiuddin@Mac.home>
2025-04-15 01:42:00 +08:00
Henry Heng a6506b3bf7
Bugfix/vector store config not saving (#4299)
fix vector store config not saving
2025-04-15 01:30:51 +08:00
toi500 4009eb227b
Fix(FlowiseChatGoogleGenerativeAI): 400 Bad Request errors from Gemini API when converting tool schemas - MCP tools. (#4294)
* fix: 400 Bad Request errors from Gemini API when converting tool schemas (MCP tools).

* Update FlowiseChatGoogleGenerativeAI.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-15 00:27:32 +08:00
toi500 d71369c3b7
Fix(FlowiseChatGoogleGenerativeAI): Prevent "parts must not be empty" API error in Seq Agents (#4292)
* Fix(FlowiseChatGoogleGenerativeAI): Prevent "parts must not be empty" API error in Seq Agents

* Fix: Update pnpm-lock.yaml to resolve CI issues

* convert role function and tool to function

* remove comment

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-04-15 00:27:09 +08:00
Hans d3510d1054
Support cache system instructs for Google GenAI (#4148)
* Support cache system instructs for Google GenAI

* format code

* Update FlowiseGoogleAICacheManager.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-14 23:26:03 +08:00
Hans 654bd48849
Support `getNumTokens` for ChatGoogleGenerativeAI (#4149) 2025-04-14 23:21:15 +08:00
allen c318fc57e9
Feat: Support Google Cloud Storage (#4061)
* support google cloud storage

* update example and docs for supporting google cloud storage

* recover the indent of pnpm-lock-yaml

* populate the logs to google logging

* normalize gcs storage paths

---------

Co-authored-by: Ilango <rajagopalilango@gmail.com>
Co-authored-by: Henry <hzj94@hotmail.com>
2025-04-14 22:52:54 +08:00
Henry Heng d53b1b657f
Bugfix/Prevent empty user message when using STT (#4280)
prevent empty user message when using STT
2025-04-11 13:15:17 +08:00
Sunny Modi 5faff52053
Add new Llama 4 model options to Groq (#4278)
Add new Groq model options to `groqChat` section in `models.json`

* Add `meta-llama/llama-4-maverick-17b-128e-instruct`
* Add `meta-llama/llama-4-scout-17b-16e-instruct`
2025-04-10 12:12:28 +08:00
Ilango 36870e94d4
Update how credential data is saved in db when using aws secrets manager (#4271)
* Update how credential data is saved in db when using aws secrets manager

* Run lint-fix and update env example
2025-04-09 14:07:18 +05:30
Ong Chung Yau 4277819c5f
feature/export-import-4 (#4272)
* feat: seperate assistant export-import into custom, openai and azure

* chore: update assistant names in export data to maintain consistency
2025-04-09 16:28:51 +08:00
Henry Heng 3098c8e75f
Bugfix/Prevent duplicated metrics on prometheus and opentel (#4269)
prevent duplicated metrics on prometheus and opentel
2025-04-08 17:01:26 +08:00
Vinod Kiran f963e5aa48
Bugfix - Validating IDs for all imports (#4226) 2025-04-07 11:47:17 +08:00
toi500 ca69a39b82
feat(Mem0): Add option to use Flowise Chat ID (#4257)
* feat(Mem0): Add option to use Flowise Chat ID

* refactor(Mem0): Simplify prependMessages handling in getChatMessages
2025-04-07 11:46:32 +08:00
Henry Heng b988cae58c
Bugfix/Prevent transforming double curly brackets (#4252)
prevent transforming double curly brackets
2025-04-04 16:19:04 +08:00
Henry Heng 8e63b999b8
Feature/Add remove on age and count to bullmq (#4249)
add remove on age and count to bullmq
2025-04-03 16:07:10 +08:00
Boris Feld dd56d03b78
feat: Add Opik Tracer integration (#4194)
This update adds support for Opik tracer in Flowise. It includes new
credential components, analytic nodes, and UI assets for both tracers. The
changes enhance observability by allowing users to integrate Opik for better
model monitoring, analysis and evaluation.
2025-04-03 15:57:54 +08:00
Ong Chung Yau a07546145d
feature/export-import-3 (#4234)
* fix: add ASSISTANT chatflow

* feat: add mvp export import for chatMessage, chatFeedback, customTemplate, documentStore

* feat: add function to handle duplicate ids during import

* chore: typo 'orginalData' to 'originalData'

* feat: add import conditions for chatMessage and chatMessageFeedback

* feat: reduce spacing before saving chatflows
2025-04-03 12:48:57 +08:00
Aman Agarwal 3bd2d63a19
[fix 4206]: fix the empty array return for getBaseClasses when using typeorm driver and not the PGVectorStore (#4225)
fix the empty array return for getBaseClasses when using typeorm driver and not the PGVectorStore

Co-authored-by: Aman Agarwal <aman@syook.com>
2025-04-03 01:47:14 +08:00
Michael Vonrueden d7c0858424
feat: Enterprise Github (#4221) 2025-04-03 01:17:56 +08:00
jonSuits 9957184680
Add Detailed Streaming to the Tool Agent (#4155)
* Add Detailed Streaming to the Tool Agent

* lint fix

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-04-03 01:14:35 +08:00
Egor Kopylov cb06df4584
Improve Error Messaging for Missing LLM Node Input Variables and Optimize Lodash Imports (#4167)
enhance input error logging
2025-04-03 01:08:42 +08:00
Saket Aryan 13fce45856
Adds Mem0 Memory Node (#4213)
* Adds Mem0 Memory Node

* fix: update pnpm-lock.yaml

---------

Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
Co-authored-by: chungyau97 <chungyau97@gmail.com>
2025-03-31 10:53:01 +08:00
Ilango 4fa2672c9d
NVIDIA NIM fixes (#4215)
* fix: udpate label to "NVIDIA NIM API Key"

* test: update tag from ":latest" to ":1.8.0-rtx"

* test: add image URL path "nvcr.io/nim/"

* fix/nvidia-nim-2 (#4208)

* fix: update nim-container-manager

* feat: add "DeepSeek R1 Distill Llama 8B"

* fix/nidia-nim-3 (#4209)

* chore: add error message NVIDIA NIM is not installed.

* chore: standardize NVIDIA NGC API Key

* chore: capitalize Nvidia to NVIDIA

* chore: generalize error message for chat models

* fix/nvidia-nim-4-yau (#4212)

* test: nimRelaxMemConstraints and hostPort

* test: add logger for hostPort and nimRelaxMemConstraints

* test: nim-container-manager version 1.0.9

* test: parseInt nimRelaxMemConstraints

* test: update nim-container-manager version to 1.0.10

* chore: update nim-container-manager version to 1.0.11

* Update start container behaviour - show existing containers and give users the choice

* Go back to previous step when clicking start new so user can change port number

* Update condition for showing existing container dialog

* Fix start new in different port not working

* Update get container controller

* Update again

* fix: generalize error message for chat models

* Update getContainer controller

* Fix incorrect image check in getContainer controller

* Update existing container dialog text

* Fix styles in container exists dialog for nvidia nim

---------

Co-authored-by: chungyau97 <chungyau97@gmail.com>
Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
2025-03-24 15:20:09 +05:30
Saqib Ahmed 7867489727
Add curl in docker image for native healthchecks (#4170)
* Add curl in docker image for native healthchecks

Fixes this issue: https://github.com/FlowiseAI/Flowise/issues/4126

* fix: add container-native healthcheck

- Added curl utility in dockerfile
- Added healthcheck configuration in docker compose

* fix: exclude ping endpoint from logging
2025-03-14 15:24:17 +00:00
Henry Heng 145a3bb415
Release/2.2.7-patch.1 (#4180)
flowise@2.2.7-patch.1
2025-03-14 14:47:34 +00:00
Henry Heng 6a0b8be422
Chore/update bullmq version (#4174)
update bullmq version
2025-03-14 00:23:32 +00:00
Henry Heng c5455137f9
Bugfix/Validate URL for postCore (#4172)
validare url for postCore
2025-03-13 20:00:32 +00:00
Sarge Joseph 2b9a1ae316
Add an Ollama baseUrl in chatflow configuration for Follow-up prompts (#4169)
Add abn Ollama baseUrl in chatflow configuration for Follow-up prompts
2025-03-13 19:59:27 +00:00
Henry Heng c2b830f279
Bugfix/arbitrary create attachemnt file upload (#4171)
fix arbitrary create attachemnt file upload
2025-03-13 19:46:27 +00:00
Egor Kopylov c6968ff385
Fix Agent Chat History Retrieval (#4163)
fixed agents history from api
2025-03-13 13:39:37 +00:00
Gene Ruebsamen 829d2b1597
Weaviate - expose Hybrid Search (#4127)
Hybrid Search for Weaviate
2025-03-13 13:30:24 +00:00
Michael Young 4130156397
feat: Add SSL configuration option for Postgres connections (#4130)
Update README files for Postgres Record Manager and Vector Store to include a new SSL environment variable, allowing optional SSL configuration for database connections
2025-03-13 10:57:38 +00:00
Henry Heng 9d9aaaa886
Bugfix/S3 Credentials (#4166)
only set s3 credentials when access key and secret key exist
2025-03-12 22:21:05 +00:00
Asharib Ali c3ea5a9b8f
Add support for GPT-4.5-preview model in OpenAI Assistant Dialog (#4147) 2025-03-11 17:29:50 +00:00
Daniel D'Abate 641df313d4
[Fix] Change S3 logger to accept more authorization methods for AWS (#4114)
* Change S3 logger to accept more authorization methods for AWS

* Lint fix
2025-03-11 17:29:34 +00:00
Henry Heng bde9e543d4
Chore/update vite config (#4158)
update vite config
2025-03-11 16:13:28 +00:00
Henry Heng 93cf47ce40
Chore/update pnpm run dev (#4154)
update pnpm run dev
2025-03-10 15:33:06 +00:00
Asharib Ali 69a272201a
Add Sequential Thinking MCP tool for structured problem-solving (#4143) 2025-03-10 10:15:10 +00:00
Henry a369f0c1cc flowise-components@2.2.7-patch.1 2025-03-07 17:14:27 +00:00
Henry Heng ac7cf30e01
Feature/Custom MCP (#4136)
* add mcp tools

* add custom MCP
2025-03-06 21:27:28 +00:00
Henry Heng cf7d841f88
Release/2.2.7 (#4135)
release@2.2.7
2025-03-06 14:27:12 +00:00
Henry Heng 713ed26971
Feature/MCP (Model Context Protocol) (#4134)
add mcp tools
2025-03-06 13:57:18 +00:00
Henry Heng 9c22bee991
Feature/Add multi select option to composio (#4122)
* add multi select option to composio

* Update pnpm-lock.yaml
2025-03-06 09:59:33 +00:00
Henry Heng fc9d6e7a16
Release/2.2.6-hotfix.1 (#4105)
flowise @2.2.6-hotfix.1
2025-02-28 22:24:39 +00:00
Rafael Reis fc9740af16
Fix for node-crashing "undefined (reading 'streaming')" error (#4104)
* check for undefined variables in buildChatflow to avoid node crashing exceptions

* Add null check on error Middleware as well
2025-02-28 22:20:48 +00:00
Henry Heng da04289ecf
Release/2.2.6 (#4102)
flowise@2.2.6
2025-02-28 12:25:48 +00:00
owengo e58c8b953d
Several features for OpenAPI toolkit and OpenAI Assistants (#3989)
* Allows 'x-strict' attribute in OpenAPI spec tool and other json spec objects, this allows the OpenAI Assistant to have function calls with 'strict' mode. Also allows the OpenAI assistant to call several tools in the same run. And adds a checkbox 'remove Nulls' for the OpenAPI toolkit so that parameters with null values are not passed to the backend api.

* fix lint errors

---------

Co-authored-by: Olivier Schiavo <olivier.schiavo@wengo.com>
2025-02-28 12:05:57 +00:00
Harsha 289c2591d6
Add gpt 4.5 (#4100)
Add gpt 4.5
2025-02-28 10:58:10 +00:00
Henry Heng 1678815540
Feature/nim container (#3966)
* add nim container setup

* check if image or container exist before pulling

* update NIM dialog

* update chat nvidia api key

* update nim container version

* update nim container version
2025-02-27 09:14:01 +00:00
Sunny Modi 7d8541a44b
Fix: ignore skipInferTableTypes on document storage process (#4068)
* Fix: ignore skipInferTableTypes on document storage process

* Update index.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-02-27 09:13:32 +00:00
Vinod Kiran 9a92aa12f9
New Feature: Add post postprocessing of response from LLM using custom JS Function (#4079)
* New Feature: Add post postprocessing of response from LLM using custom Javascript functions

* Disable Save when there is no content

* add post processing ui changes, disable streaming

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-02-26 17:40:03 +00:00
Henry Heng a8d74336dd
Bugfix/Add date input type for custom tool (#4087)
add date input type for custom tool
2025-02-26 15:37:25 +00:00
Henry Heng 97a196e11a
Chore/patch deps (#4015)
patch deps
2025-02-26 15:19:13 +00:00
Hans 86a26f6ae3
Fix vector store filter not work (#4065)
* Fix vector store filter not work

* Update ExtractMetadataRetriever.ts

* Update HydeRetriever.ts

* Update MultiQueryRetriever.ts

* Update SimilarityThresholdRetriever.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-02-26 15:03:54 +00:00
Henry Heng d8dc1820e1
Claude 3.7 on Vertex and Bedrock (#4082)
* add gemini flash

* add gemin flash to vertex

* add gemin-1.5-flash-preview to vertex

* add azure gpt 4o

* add claude 3.5 sonnet

* add mistral nemo

* add groq llama3.1

* add gpt4o-mini to azure

* o1 mini

* add groq llama 3.2

* update anthropic models

* add 3.5 haiku

* update vertex embedding models

* add azure o1 models

* add o3 mini

* add wolframalpha tool

* Update pnpm-lock.yaml

* add claude sonnet 3.7 to vertex and bedrock
2025-02-26 10:59:14 +00:00
Thanos Kontokostas 229366968a
Adding Tavily custom tool (#4027)
Adding Tavily custom tool
2025-02-25 21:31:17 +00:00
Matt Smith 3290798d4b
Replace .edgebutton 'x' text with <IconX/> (#4035)
replace .edgebutton 'x' text with <IconX/>
2025-02-25 17:58:21 +05:30
Henry Heng ac138a7a27
Chore/Claude 3.7 (#4075)
* add gemini flash

* add gemin flash to vertex

* add gemin-1.5-flash-preview to vertex

* add azure gpt 4o

* add claude 3.5 sonnet

* add mistral nemo

* add groq llama3.1

* add gpt4o-mini to azure

* o1 mini

* add groq llama 3.2

* update anthropic models

* add 3.5 haiku

* update vertex embedding models

* add azure o1 models

* add o3 mini

* add wolframalpha tool

* Update pnpm-lock.yaml
2025-02-24 22:18:03 +00:00
Sunny Modi fe2d16004c
Chore/Fix Swagger YAML formatting (#4034)
Fix Swagger YAML formatting
2025-02-24 14:44:27 +00:00
Ali Saleh 0e10952b45
feat: Add Arize & Phoenix Tracer Integration (#4046)
Added Arize Phoenix Tracer

Co-authored-by: Ilango <ilango.rajagopal@flowiseai.com>
2025-02-24 20:11:30 +05:30
ritvikPuranik 542936c33f
now user can name each document loader for ease of tracking (#4039)
* now user can name each document loader for ease of tracking

* Update LoaderConfigPreviewChunks.jsx

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-02-22 02:01:54 +00:00
Asharib Ali 19c36c6d11
Add Paste JSON Schema Functionality to Custom Tools (#4053)
feat: add paste JSON schema functionality to custom tools

- Add PasteJSONDialog component for JSON input

- Add Paste JSON button to Tool Dialog

- Support JSON validation and format conversion

- Add example JSON template
2025-02-22 01:15:52 +00:00
Henry Heng f71e5cbfb6
Chore/Update vertex dependency (#4058)
update vertex dependency
2025-02-22 01:11:34 +00:00
saatchi-david c0a74782d8
o3-mini Adjustments. (#4009)
* Update AzureChatOpenAI.ts - corrected reasoning description and default

- Description for reasoning effort only mentioned o1. Added o3.
- Changed reasoning effort default to medium as this is OpenAI's default / what users will most likely expect (https://platform.openai.com/docs/guides/reasoning)

* Update ChatOpenAI.ts - corrected reasoning description and default

- Description for reasoning effort only mentioned o1. Added o3.
- Changed reasoning effort default to medium as this is OpenAI's default / what users will most likely expect (https://platform.openai.com/docs/guides/reasoning)

* Update models.json - add specific model ID for o3-mini

- Added o3-mini-2025-01-31
- Updated "o3-mini" label to "o3-mini (latest)"
This allows the user to choose a specific model ID and avoid the risk of unexpected behavior if the "o3-mini" alias is updated.
2025-02-12 19:20:44 +00:00
Henry Heng 23ccef165d
Bugfix/Typeorm Postgres Driver Not Found (#4024)
add bugfix for driver not found
2025-02-12 19:19:52 +00:00
Henry Heng 54cdf00e7e
Feat/stream flow variables (#4022)
stream flow variables
2025-02-12 10:40:46 +00:00
Gene Ruebsamen 0449e80395
Late Chunking support for Jina Embeddings (#4002)
* Late Chunking support for Jina Embeddings

* improved constructor handling. remove redundant code.

* remove unnessary function overrides, since late_chunking parameter only needs to be stored in the class.
2025-02-08 14:10:18 +00:00
toi500 96dd1aaeea
Update Gemini models as per the Gemini API Documentation. (#3996)
* update gemini models

* fix

* remove pleceholder
2025-02-06 19:20:13 +00:00
Henry Heng c96d634db2
Bugfix/update view message dialog (#3994)
* update view message dialog

* update lock file

* update github main action

* update github main action

* Update style.scss

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml
2025-02-06 11:05:06 +00:00
saatchi-david 8e2e790a93
Update DeleteDocStoreDialog.jsx - added clarification that data will also be removed from the record manager. (#3987)
Added clarification that data will also be removed from the record manager.

Before: 
"Remove data from vector store"

After:
"Remove data from vector store and record manager"

Note: this dialog box only appears when a record manager exists in the doc store. If it's intended to be shown regardless of whether a record manager exists, updates will be needed.
2025-02-06 09:05:21 +00:00
Henry Heng aeb82c2fb4
Release/2.2.5 (#3983)
* release 2.2.5

* update pnpm lock file

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml
2025-02-04 10:28:52 +00:00
Henry Heng 01cb3ef20d
Bugfix/delete messages via sessionId (#3982)
delete messages via sessionId
2025-02-04 09:50:46 +00:00
Henry Heng a0b4abdd13
Feature/update openai version, add reasoning effort param, add o3 mini (#3973)
* update openai version, add reasoning effort param

* update azure

* add filter for pinecone llamaindex

* update graph cypher qa chain
2025-02-04 08:43:27 +00:00
inkyu 2a0e712b7d
feat: preserve UI state memory on API override (#3957) 2025-02-03 17:12:09 +00:00
Jamal Almonawer جمال المناور e1ea1c68d1
Fix: Ensure normalizeURL retains port number (#3959)
* fix: Preserve port in normalizeURL function

The normalizeURL function was previously ignoring the port in the URL.
This fix explicitly includes the port if present (e.g., `:3000`).

* fix lint problem

fix lint problem
2025-02-03 17:02:00 +00:00
Gene Ruebsamen 8d327e465c
Expose dimensions parameter on Jina Embeddings (#3969)
* Expose dimensions parameter on Jina Embeddings

* fix linting issue

* update description text to refer to dimensions

* Update JinaAIEmbedding.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-02-03 17:01:50 +00:00
Gene Ruebsamen 7d125d50d4
update cohere rerank models to v3.0 and v3.5 (#3972) 2025-02-03 01:44:27 +00:00
Henry Heng 20a797d2e0
Feature/Add ability to create new doc store on upsert (#3965)
add ability to create new doc store on upsert, update firecrawl properties
2025-02-01 14:28:50 +00:00
Henry Heng a49177f7fb
Chore/O3 MINI (#3962)
* add gemini flash

* add gemin flash to vertex

* add gemin-1.5-flash-preview to vertex

* add azure gpt 4o

* add claude 3.5 sonnet

* add mistral nemo

* add groq llama3.1

* add gpt4o-mini to azure

* o1 mini

* add groq llama 3.2

* update anthropic models

* add 3.5 haiku

* update vertex embedding models

* add azure o1 models

* add o3 mini

* add wolframalpha tool
2025-02-01 01:17:40 +00:00
saatchi-david 81cd904b73
Update RateLimit.jsx - link to documentation incorrect (#3954)
Current link to Rate Limit documentation is incorrect:
https://docs.flowiseai.com/rate-limit

Corrected to:
https://docs.flowiseai.com/configuration/rate-limit
2025-02-01 00:10:15 +00:00
Adolfo Usier 315536ed6e
Adding DeepSeekR1 Distill to Groq modal (#3961)
adding DeepSeekr1 distill to groq
2025-02-01 00:09:41 +00:00
Asharib Ali abb1b2d0d2
fix: Update Perplexity AI model to sonar (#3949)
fix: update Perplexity AI model to recently released sonar
2025-01-30 17:05:22 +00:00
Henry Heng ad60140e38
Bugfix/Update start date from timestamp to date format (#3951)
update start date from timestamp to date format
2025-01-30 17:04:59 +00:00
Henry Heng 9a68b4b021
Chore/update nvidia NIM label (#3943)
update nvidia NIM label
2025-01-30 10:36:05 +00:00
Henry Heng 6e95989647
Bugfix/Overrideconfig for form data body (#3932)
fix overrideconfig for form data body
2025-01-27 11:19:26 +00:00
Henry Heng a2a475ba7a
Feature/Add bullmq redis for message queue processing (#3568)
* add bullmq redis for message queue processing

* Update pnpm-lock.yaml

* update queue manager

* remove singleton patterns, add redis to cache pool

* add bull board ui

* update rate limit handler

* update redis configuration

* Merge add rate limit redis prefix

* update rate limit queue events

* update preview loader to queue

* refractor namings to constants

* update env variable for queue

* update worker shutdown gracefully
2025-01-23 14:08:02 +00:00
Henry Heng e26fc63be0
Feature/Custom Function to Seq Agent (#3612)
* add custom function to seq agent

* add seqExecuteFlow node
2025-01-23 13:04:40 +00:00
Yi-Cheng Wang 50a7339299
fix: Correct logic error in tool input assignment for ChatflowTool (#3903)
The previous code incorrectly assigned `toolInput` to an empty string when `customInput` was non-empty. Corrected the logic to ensure that `toolInput` is assigned `customInput` when `useQuestionFromChat` is false and `customInput` is non-empty.
2025-01-22 18:22:24 +00:00
Henry Heng 1baa4f8e4f
Bugfix/Allow files uploads without enabling overrideconfig (#3915)
allow files uploads without enabling overrideconfig
2025-01-22 18:20:57 +00:00
Nguyễn Đức Hùng ca559c5f21
Update model names for deepseek components (#3911) 2025-01-22 12:43:57 +00:00
Henry Heng 5cc0e98604
Bugfix/Allow prefix vars when executing custom function (#3902)
allow prefix vars when executing custom function
2025-01-21 00:34:17 +00:00
Henry Heng 4aa97b0c9a
Bugfix/Escape JSON in Prompt Message (#3901)
add fix to only get variables when there is no colon
2025-01-20 19:18:28 +00:00
Osema Touati 4c9d46d7e5
fix: Fixing logger for custom S3 stream (#3900)
* fix: Fixing logger for custom S3 stream

* fix: adjusting s3 stream folder

* fix: fixing forcedPathStyle variable name.

* Update logger.ts

* add S3ClientConfig types

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-01-20 19:15:31 +00:00
itaismith 3fc4e79089
Add tenant and database configs for Chroma Cloud credentials (#3872)
* Add tenant and database configs for Chroma Cloud credentials

* Lint fix
2025-01-20 18:39:00 +00:00
Henry Heng 320eab65d6
Chore/Add base options to azure chat openai (#3886)
* add base options to azure chat openai

* add base options to embeddings
2025-01-20 18:29:27 +00:00
Nguyễn Đức Hùng 9c2203be62
Feature: Add Jina AI Rerank Retriever (#3898) 2025-01-20 12:33:42 +00:00
supraface 5c9f17814b
Bugfix/Handling empty strings when resolving variables (#3864)
Bugfix for how to handle empty strings when resolving variables
2025-01-16 15:14:06 +00:00
Henry Heng c89be26024
Bugfix/update get chat messages chattype (#3881)
update get chat messages chattype
2025-01-16 14:53:36 +00:00
Henry Heng 62d5d1e8ef
Bugfix/add hidden properties to custom tool (#3875)
add hidden properties to custom tool
2025-01-15 13:43:58 +00:00
Henry Heng ef96b57303
Release/2.2.4 (#3870)
flowise@2.2.4 release
2025-01-14 20:47:48 +00:00
Jérémy JOURDIN 24eb437bad
[Feature] improve CsvLoader & clean code (#3830)
* Improve CSV Loader

* Improve S3 Loaders

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-01-14 16:47:04 +00:00
Light cc87d85675
Chore: Update @langchain/community (#3787)
* update package versions

* fix updated field defs due to lib update

* Merge branch 'main' into chore/Upgrade-LC-version

# Conflicts:
#	packages/components/package.json
#	pnpm-lock.yaml

* lintfix

* fix follow up prompt dialog

* lintfix

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-01-14 16:30:51 +00:00
Ryan Halliday 16aa3a0d29
Get/Delete ChatMessage based on startDateTime / endDateTime (#3867)
* Get ChatMessage based on startDateTime / endDateTime - supplements existing startDate / endDate fields

* Proper query handling for between case

* Return 0 result rather than error

* lint fix

* update start date and end date query

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-01-14 14:06:42 +00:00
Henry Heng aab493c3c7
Feature/OpenRouter (#3865)
add open router
2025-01-13 20:35:59 +00:00
Henry Heng d2fa430725
Chore/swagger update (#3860)
* update swagger spec

* update api docs to include doc store file chunks

* update swagger api

* update swagger api
2025-01-13 15:17:15 +00:00
Hugues Chocart 89c5eb0492
Lunary: fix user messages (#3852)
Update handler.ts
2025-01-12 23:01:02 +00:00
Henry Heng d60242c224
Feat/add multer s3 (#3854)
* add multer s3

* add types multer s3

* update multer s3 implementation

* Revert "update multer s3 implementation"

This reverts commit 9a25bf57a9.

* update storage utils

* update multer storage type on routes

* revert getMulterStorage

* revert getMulterStorage

* update getmulterstorage

* update getmulterstorage

* update getmulterstorage
2025-01-12 23:00:34 +00:00
Henry Heng 15d06ec4b3
Feature/Allow winston to stream to s3 (#3848)
allow winston to stream to s3
2025-01-11 17:01:10 +00:00
Henry Heng a2d5cf979c
Bugfix/show agent messages status on sharechatbot (#3851)
fix show agent messages status on sharechatbot
2025-01-11 16:50:03 +00:00
Henry Heng c36267cf74
Bugfix/Undefined loader config (#3846)
fix undefined loader config
2025-01-09 17:18:56 +00:00
Henry Heng 8d266052ae
Feature/update upsert API (#3836)
* update upsert API

* add fix for override files in upsert vector
2025-01-09 13:22:35 +00:00
Lucas Mohallem Ferraz 1ae78c2739
[Feat] Allow AWS SECRETS MANAGER instead of storing AES Encrypted in db (#3616)
* AWS Secrets

* AWS Secrets support

* add examples

* remove test compose

* fix lint

* update aws secret manager implementation

* update secret manager client

* update comments

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-01-08 20:24:57 +00:00
Ryan Halliday c2c1ca9162
Slight Redis Memory description change to include units (#3824)
Slight message change to include units
2025-01-08 01:05:10 +00:00
Henry Heng b2224b9ca1
Feature/update share chatbot for adding title colors (#3823)
update share chatbot for adding title colors
2025-01-07 22:17:37 +00:00
Ahmed Rowaihi e429af139e
feat(follow-up/ollama): support ollama provider (#3795) 2025-01-07 20:43:43 +00:00
Henry Heng 9a417bdc95
Bugfix/update nodevm sandbox options, sanitize tablename (#3818)
* update nodevm sandbox options, sanitize tablename

* sanitize file name when getFileFromStorage
2025-01-07 15:26:25 +00:00
Tomoki Yokoyama 22801591da
fix: artifacts key in object does not have messages property, which g… (#3812)
fix: artifacts key in object does not have messages property, which gives 'Cannot read properties of undefined (reading reverse) error. So, do not add it to obj variable. Instead, add it to msg object.
2025-01-06 18:46:12 +00:00
Henry Heng 7aead83d61
Feature/update json loader to have dynamic metadata (#3811)
update json loader to have dynamic metadata
2025-01-06 16:18:49 +00:00
Henry Heng 4c400301f2
Bugfix/update doc store naming convention (#3814)
update doc store naming convention
2025-01-06 03:13:53 +00:00
Sunny Modi 3b13e8345a
Feature/Add Groq for followup prompts (#3806)
Feature/Add-Groq-for-followup-prompts
2025-01-04 16:52:01 +00:00
Henry Heng 1111101cff
Bugfix/Anthropic messages in agentflow (#3801)
fix anthropic messages in agentflow
2025-01-03 22:47:46 +00:00
Ahmed Rowaihi e22c60115e
clean(components): is debug boolean syntax shorthand (#3770)
🧹 CLEAN(components): is debug boolean syntax shorthand
2025-01-03 14:20:59 +00:00
Aaron 7af5815fa9
fix(ui): fix typo (#3799)
fix: shortcut typo
2025-01-03 14:14:27 +00:00
Danila b6165e3578
fix: getting docId, storeId parameters (#3761)
* fix: getting docId, storeId parameters

* useparams to get path params

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-01-03 12:33:50 +00:00
Elon Zito d71ad22e27
[BUGFIX] Fix value.startsWith is not a function error (#3747)
* Fix value.startsWith is not a function error

* Check for empty array
2025-01-02 17:07:43 +00:00
Henry Heng 50475f1fe5
Feature/add disabled nodes env variable (#3797)
* add disabled nodes env variable

* add bugfix to speech to text
2025-01-02 16:49:41 +00:00
Nguyễn Đức Hùng b34a82335d
bugfix: Add nil check in escapeAllStrings to prevent TypeError when upsert vectors (#3789) 2025-01-02 16:41:40 +00:00
Hans 9cceba2240
Add `rerank-2` and `rerank-2-lite` for Voyage AI Rerank Retriever (#3776)
Add `rerank-2`
2025-01-02 13:51:59 +00:00
Henry Heng 5ba0ded4cc
Feature/add nvdia nim (#3749)
* add nvdia nim

* add base path
2024-12-31 18:16:58 +00:00
Henry Heng 4e434fd725
Release/2.2.3 (#3756)
release @2.2.3
2024-12-23 12:03:03 +00:00
Anthony Bryan Gavilan Vinces a7c1ab881c
Feature/Add Neo4j GraphRag support (#3686)
* added: Neo4j database connectivity, Neo4j credentials, supports the usage of the GraphCypherQaChain node and modifies the FewShotPromptTemplate node to handle variables from the prefix field.

* Merge branch 'main' of github.com:FlowiseAI/Flowise into feature/graphragsupport

* revert pnpm-lock.yaml

* add: neo4j package

* Refactor GraphCypherQAChain: Update version to 1.0, remove memory input, and enhance prompt handling

- Changed version from 2.0 to 1.0.
- Removed the 'Memory' input parameter from the GraphCypherQAChain.
- Made 'cypherPrompt' optional and improved error handling for prompt validation.
- Updated the 'init' and 'run' methods to streamline input processing and response handling.
- Enhanced streaming response logic based on the 'returnDirect' flag.

* Refactor GraphCypherQAChain: Simplify imports and update init method signature

- Consolidated import statements for better readability.
- Removed the 'input' and 'options' parameters from the 'init' method, streamlining its signature to only accept 'nodeData'.

* add output, format final response, fix optional inputs

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-23 01:35:53 +00:00
Nguyễn Đức Hùng 93f3a5d98a
Feat/deepseek chat node (#3732)
* Feat: Add deepseek models to components configuration

* Feat: Implement Deepseek API integration with chat models and add SVG icon

* Refactor: Remove image input options and add missing baseOptions in deepseek chat node
2024-12-21 12:54:39 +00:00
Jérémy JOURDIN 0381a99c4d
[Feature] Repair JSON from LLM in StructuredOutputParserAdvanced (#3723)
Repair JSON from LLM in StructuredOutputParserAdvanced

Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-21 12:51:56 +00:00
Kenny Yap 94f67c0212
Feature/Add Print or Export Text Document Tool (#3743)
* Add print_or_export_text_document tool

* Indentation fix

* Increase timeout to 10mins

* Typo fix on json file
2024-12-21 12:49:43 +00:00
Karlo Benčić e8a33e4d4d
fix: Error Cannot read properties of undefined (reading 'sendTelemetry') (#3734)
fix Error: Cannot read properties of undefined (reading 'sendTelemetry')
2024-12-21 01:09:45 +00:00
Pavel Nasovich bbe0203f4e
[Feature] Update Exa category filter with new values (#3746)
Added `financial report` and `linkedin profile` categories.
2024-12-20 18:43:25 +00:00
Abhishek Patil b29523d093
Feature/add composio tool (#3722)
* feat: add composio tool

* fix: improve error handling & field description

* update composio tools for refresh and sorting

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-19 13:36:56 +00:00
Henry Heng d6b35465e5
Bugfix/Share Chatbot Config (#3742)
fix chatbot config
2024-12-19 13:36:32 +00:00
vijaykammili 2df129f91b
Vertex Gemini Custom Model Changes (#3737) 2024-12-19 11:40:14 +00:00
Henry Heng e8903a5719
Bugfix/custom assistant tools description (#3739)
* add tool description to custom assistant

* update custom assistant knowledge tooltip
2024-12-19 11:07:47 +00:00
Jean Ibarz c809f4165a
feat: Add conversation history selection options to ConditionAgent node (#3719)
* feat: Enhance ConditionAgent with conversation history selection options

- Added a new parameter `conversationHistorySelection` to allow users to choose which messages from the conversation history to include in prompts.
- Options include: User Question, Last Conversation Message, All Conversation Messages, and Empty.
- Default selection is set to 'All Conversation Messages' for improved context management in sequential LLM and Agent nodes.

* Bump version from 2.0 to 3.0
2024-12-18 23:27:01 +00:00
Eduard-Constantin Ibinceanu 1b48d564f9
Add missing inputs (#3726)
* Add missing inputs

* Change version
2024-12-18 22:55:02 +00:00
richersoon bb15e5c2c0
Bugfix/Hide agent response for chatflow (#3729)
fix: hide agent response for chatflow
2024-12-18 22:38:40 +00:00
Anthony Bryan Gavilan Vinces 2360f5fdeb
Feature/Add Azure Cognitive speech-to-text functionality (#3718)
* feat: Add Azure Cognitive Services integration for speech-to-text functionality

- Introduced a new credential class for Azure Cognitive Services.
- Updated speech-to-text processing to support Azure Cognitive Services as a provider.
- Enhanced UI components to include Azure Cognitive Services options and inputs for configuration.
- Added necessary imports and error handling for Azure API requests.

* Update SpeechToText.jsx linting

* refactor: Update audio file handling in SpeechToText component

- Removed the dependency on 'form-data' and replaced it with a Blob for audio file uploads.
- Simplified the audio file appending process to the form data.
- Cleaned up the headers in the Axios request by removing unnecessary form data headers.

This change enhances the efficiency of audio file processing in the speech-to-text functionality.

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-18 01:35:16 +00:00
Henry fff6319f5d lint fix sharechatbot jsx 2024-12-17 23:51:28 +00:00