68 Commits
Author SHA1 Message Date
Ilango 1939b5f374 add: permissions for bullmq endpoint (#6713) 2026-08-07 11:24:57 +05:30
Ilango 4b805e051f fix: flowise-707 (#6712) 2026-08-07 11:24:29 +05:30
Ilango 0b74fc07eb fix: flowise-603 (#6708) 2026-08-07 11:24:03 +05:30
Ilango f20d0941da fix: flowise-766 (#6709) 2026-08-07 10:37:30 +05:30
Ilango 269a493712 fix: upsert history permissions (#6680) 2026-08-07 10:37:00 +05:30
Ilango fe285d0b8d fix: flowise-627 (#6673) 2026-07-31 14:02:10 +05:30
Ilango 754f3d4747 fix: flowise-708 (#6679) 2026-07-31 14:01:46 +05:30
Ilangoandyau-wd 5ecc3c5cb5 chore: flowise-839 (#6664)
* update: signup, invites and banner

* update: signup and invites

* update: login

---------

Co-authored-by: yau-wd <[email protected]>
2026-07-27 17:54:39 +01:00
Ilango 4ea391204a fix: flowise-598 (#6665)
* update: user and permissions in docker files

* fix: sql database chain node
2026-07-27 17:40:21 +05:30
Ilangoandgemini-code-assist[bot] ababf4c8eb fix: flowise-615 (#6629)
* fix: flowise-615

* Update packages/components/nodes/tools/MCP/core.ts

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

* fix: update versions for several packages (#6558)

* fix: update versions for several packages

* fix: review feedback

* fix: lock file

* fix: ci

* fix: ci

* fix: test coverage

* fix: flowise-399

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-07-24 19:33:36 +05:30
Ilango dbec8f9fd3 fix: flowise 322 and 324 (#6650) 2026-07-24 19:28:32 +05:30
Ilango 93c1abddd4 fix: update versions for several packages (#6558)
* fix: update versions for several packages

* fix: review feedback

* fix: lock file

* fix: ci

* fix: ci

* fix: test coverage
2026-07-15 13:21:50 +05:30
Ilangoandgemini-code-assist[bot] b98ff81b04 fix: check deny list in for certain chat models (#6589)
* fix: check deny list in for certain chat models

* Update packages/components/nodes/chatmodels/ChatOllama/ChatOllama.ts

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

* Update packages/components/nodes/chatmodels/ChatCloudflareWorkersAI/ChatCloudflareWorkersAI.ts

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

* fix: review feedback

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-07-15 12:37:41 +05:30
Ilango 6c989ec860 fix: check deny list in webscrappers (#6559)
* fix: check deny list in webscrappers

* fix: review feedback
2026-07-15 12:36:43 +05:30
Ilangoandgemini-code-assist[bot] 096d2d4c14 fix: exports contain variable values (#6556)
* fix: exports contain variable values

* Update packages/server/src/services/export-import/index.ts

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-07-01 13:38:12 +05:30
Ilango d071868442 fix: FLOWISE-553, 598, 616 (#6464)
* fix: flowise-598

* fix: flowise-553

* fix: flowise-616

* fix: review feedback
2026-06-16 16:35:46 +05:30
Ilango 3f257bdc81 fix: FLOWISE-400, 543, 551 (#6417)
* fix: available dependencies in sandbox

* fix: better url validation and prevent arbitrary url injection into the sandbox

* fix: permissions in docker

* revert: all docker-related changes

* fix: review feedback
2026-06-16 16:21:16 +05:30
Ilango 96a9b23b5a fix: flowise 370 (#6409)
* add: new executions:update permissions and apply it to PUT /api/v1/executions endpoint

* add: executions:update permissions check in UI

* fix: review feedback
2026-06-16 16:20:56 +05:30
Ilango ba6a089d2b chore: node version update (#6359)
* update: node version

* fix: lint issues

* add: missing dependency in ci for faiss

* fix: pin pnpm version

* fix: more dependency issues

* fix: even more dependency issues

* update: pnpm overrides

* revert: experimental changes
2026-06-02 20:43:23 +05:30
Ilango b7a2005fd7 fix: access to invited workspace (#6360)
* fix: access to invited workspace

* update: idor guards
2026-05-19 19:52:50 +05:30
Ilango 9ae635b434 fix: flowise-318 (#6335)
* update: vars permissions check

* fix: check in queue mode
2026-05-14 14:15:45 +05:30
Ilango 4d7899d02c fix: flowise-310 (#6321)
* add: validate customerId and subscriptionId

* fix: review feedback
2026-05-08 15:18:27 +05:30
Ilango e9bf04ac74 fix: flowise-186 (#6158)
* update: type field for some credentials where string type could expose secrets

* update: contribution docs with note on adding credential files

* update: add reveal for url type, permissions for get credential by id

* fix: review feedback

* fix: review feedback

* update: agentflow package with credentials ui changes

* fix: test coverage, add tests for changes in CreateCredentialDialog

* revert: changes to agentflows package
2026-05-08 15:08:18 +05:30
Ilango ada643f0e2 fix: cors handling (#6304)
* fix: cors handling

* update: use app url instead of new env var

* fix: review feedback

* add: tests and validation for cors configuration
2026-05-04 14:25:50 +05:30
Ilangoandyau-wd d81483b70c fix: flowise-146 (#6170)
* fix: add tenant guards for multiple controllers

* fix: review feedback

* fix: revert permission gate

* add: workspace and organization scoping/tenant guards

* add: workspace and organization scoping/tenant guards for upsert history endpoints

* add: workspace scoping for openai assistant vector store endpoints

* add: org scoping for workspace user endpoint

* add: workspace scoping for dataset, dataset rows, documentstore preview, and evaluations services

* add: workspace scoping for oauth2 authorize endpoint

* fix: issues

* fix: ui issues

* fix: review feedback

* fix: review feedback

* fix: remove test script

* add: tests for tenant request guards

* update: workspace scoping for patch upsert history

---------

Co-authored-by: yau-wd <[email protected]>
2026-04-28 17:44:44 +05:30
Ilango 700137738b update: eval base url (#5738)
* update: eval base url

* update: eval base url
2026-04-28 17:36:56 +05:30
Ilangoandyau-wd fd48519f41 fix: remove basic auth (#5680)
Co-authored-by: yau-wd <[email protected]>
2026-04-10 19:49:44 +08: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
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
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
Ilango 76c4fc9723 fix: lint issues (#6115) 2026-04-02 05:45:22 +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
Ilango 34aa82e3a0 fix: redis pub/sub and streaming response issue (#6008)
* 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

---------
2026-03-30 20:18:23 +08:00
Ilango 27dc52f5e0 fix: session cleanup when using mysql for storing sessions (#5984) 2026-03-24 13:57:49 +05:30
Ilango ec767b1911 fix: validate mime type list when updating chatflow configuration (#5768)
* fix: validate mime type list when updating chatflow configuration

* fix: lint issues

* fix: code reviews
2026-02-26 14:58:57 +05:30
75ce181a68 Updates to environment and initialization logic (#5683)
* fix: make TOKEN_HASH_SECRET required and add check on server start

* fix: make EXPRESS_SESSION_SECRET required and add check on server start

* fix: make jwt variables required and validate on server start

* fix: formatting

* fix: cypress tests

* fix: remove env file for cypress and refactor

* revert: changes to workflow and env examples

* update: how missing/weak default secrets are handled

* update: how auth secrets are setup and read

* fix: update env examples for docker

* fix: weak defaults list

* fix: weak defaults list

---------

Co-authored-by: yau-wd <[email protected]>
Co-authored-by: yau-wd <[email protected]>
2026-02-25 21:40:12 +08:00
Ilangoandyau-wd c22f2d3d25 fix: read loginmethod (#5805)
* fix: auth for read loginmethod endpoint

* fix: review feedback

* fix: lint issues

* fix: validate auth0 domain

* fix: lint issues

* fix: wrong loginmethod endpoint in org setup page

---------

Co-authored-by: yau-wd <[email protected]>
2026-02-24 16:09:41 +08:00
Ilango 420907210a fix: hardcoded audio file extension failing validation in stt (#5737)
* fix: hardcoded audio file extension in stt

* fix: review feedback
2026-02-11 16:56:33 +05:30
Ilango 1678ae92e1 Update ChatCohere models list (#5710)
* update chat cohere models

* update: chat cohere model pricing and default model
2026-02-05 15:39:27 +05:30
Ilango 06b8126538 fix: update loginmethod endpoints (#5681)
* fix: disable loginmethod read, create, and update endpoints in cloud

* fix: refactor

* fix: status code

* fix: duplicated code and unused imports
2026-02-03 18:30:53 +08:00
Ilango 69fb14e6eb fix: route ordering in auth routes (#5661) 2026-01-21 17:02:18 +05:30
Ilango 1bfa7a1c7f Fix: Disclosures (#5562)
* fix: remove hostname from log filename

* fix: remove metrics endpoint from whitelist and require authentication

* update: example prometheus configuration

* fix: require authentication for bullmq dashboard

* remove: get-upload-path route

* update: move export chat messages logic to backend

* update: auth method for bullmq dashboard

* fix: hard-coded api key in example prometheus config

* fix: unused imports

* fix: duplicated try-catch blocks

* fix: add rate-limiting to bullmq dashboard

* fix: add rate-limiting to bullmq dashboard

* update: use existing json parse method
2026-01-08 14:01:13 +05:30
4e92db6910 feat: handle 429 errors and redirect to rate-limited page (#5440)
* feat: handle 429 errors and redirect to rate-limited page

* fix: simplify rate-limited page and better 429 error handling

* fix: status code in quotaUsage

* update: add back to home button rate-limited page

* chore: fix typos in docker/worker/Dockerfile (#5435)

Fix typos in docker/worker/Dockerfile

* chore: fix typos in packages/components/nodes/agentflow/Condition/Condition.ts (#5436)

Fix typos in packages/components/nodes/agentflow/Condition/Condition.ts

* chore: fix typos in packages/components/nodes/chatmodels/ChatHuggingFace/ChatHuggingFace.ts (#5437)

Fix typos in packages/components/nodes/chatmodels/ChatHuggingFace/ChatHuggingFace.ts

* chore: fix typos in packages/components/nodes/prompts/ChatPromptTemplate/ChatPromptTemplate.ts (#5438)

Fix typos in packages/components/nodes/prompts/ChatPromptTemplate/ChatPromptTemplate.ts

* docs: fix typos in packages/ui/src/layout/MainLayout/Sidebar/MenuList/NavGroup/index.jsx (#5444)

Fix typos in packages/ui/src/layout/MainLayout/Sidebar/MenuList/NavGroup/index.jsx

* docs: fix typos in packages/components/nodes/engine/SubQuestionQueryEngine/SubQuestionQueryEngine.ts (#5446)

Fix typos in packages/components/nodes/engine/SubQuestionQueryEngine/SubQuestionQueryEngine.ts

* docs: fix typos in packages/components/nodes/embeddings/AWSBedrockEmbedding/AWSBedrockEmbedding.ts (#5447)

Fix typos in packages/components/nodes/embeddings/AWSBedrockEmbedding/AWSBedrockEmbedding.ts

* docs: fix typos in packages/server/README.md (#5445)

Fix typos in packages/server/README.md

* Bugfix/Supervisor Node AzureChatOpenAI (#5448)

Integrate AzureChatOpenAI into the Supervisor node to handle user requests alongside ChatOpenAI. This enhancement allows for improved multi-agent conversation management.

* Chore/JSON Array (#5467)

* add separate by JSON object

* add file check for Unstructured

* Enhance JSON DocumentLoader: Update label and description for 'Separate by JSON Object' option, and add type check for JSON objects in array processing.

* Chore/Remove Deprecated File Path Unstructured (#5478)

* Refactor UnstructuredFile and UnstructuredFolder loaders to remove deprecated file path handling and enhance folder path validation. Ensure folder paths are sanitized and validated against path traversal attacks.

* Update UnstructuredFolder.ts

* feat(security): enhance file path validation and implement non-root D… (#5474)

* feat(security): enhance file path validation and implement non-root Docker user

- Validate resolved full file paths including workspace boundaries in SecureFileStore
- Resolve paths before validation in readFile and writeFile operations
- Run Docker container as non-root flowise user (uid/gid 1001)
- Apply proper file ownership and permissions for application files

Prevents path traversal attacks and follows container security best practices

* Add sensitive system directory validation and Flowise internal file protection

* Update Dockerfile to use default node user

* update validation patterns to include additional system binary directories (/usr/bin, /usr/sbin, /usr/local/bin)

* added isSafeBrowserExecutable function to validate browser executable paths for Playwright and Puppeteer loaders

---------

Co-authored-by: taraka-vishnumolakala <[email protected]>
Co-authored-by: Henry Heng <[email protected]>
Co-authored-by: Henry <[email protected]>

* Chore/docker file non root (#5479)

* update dockerfile

* Update Dockerfile

* remove read write file tools and imports (#5480)

* Bugfix/Custom Function Libraries (#5472)

* Updated the executeJavaScriptCode function to automatically detect and install required libraries from import/require statements in the provided code.

* Update utils.ts

* lint-fix

* Release/3.0.11 (#5481)

[email protected]

* [email protected]

* Chore/Disable Unstructure Folder (#5483)

* commented out unstructure folder node

* Update packages/components/nodes/documentloaders/Unstructured/UnstructuredFolder.ts

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>

* update: condition for handling 429 errors

* update: handle rate limit errors in auth pages

* fix: crash due to missing import

---------

Co-authored-by: Lê Nam Khánh <[email protected]>
Co-authored-by: Henry Heng <[email protected]>
Co-authored-by: Taraka Vishnumolakala <[email protected]>
Co-authored-by: taraka-vishnumolakala <[email protected]>
Co-authored-by: Henry <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-27 11:23:49 +00:00
Ilango fd7fc2f4d7 Fix: CORS-related issues (#5310)
* remove allowed origins from public chatbot config response

* update how domains are validated in cors middleware

* fix: delete correct allowed domains keys in public chatbot config endpoint

* fix: cors substring issue

* fix: remove cors origins fallback

* fix: error when cors origins is not defined

* fix: update how cors setting is parsed and used

* fix: update how cors setting is parsed and used

* fix: address pr comments

* fix: use workspaceId if available in cors middleware

* fix: global cors blocks chatflow-level validation for predictions

* fix: add error handling to domain validation
2025-11-05 14:58:17 +05:30
IlangoandHenry eed7581d0e Updates to change/reset password functionality (#5294)
* feat: require old password when changing password

* update account settings page - require old password for changing passwords

* update profile dropdown - go to /account route for updating account details

* Remove all session based on user id after password change

* fix: run lint-fix

* remove unnecessary error page on account

* fix: prevent logout if user provides wrong current password

* fix: remove unused user profile page

* fix: import

---------

Co-authored-by: Henry <[email protected]>
2025-10-28 20:48:28 +00:00
Ilango 37ef6ffa50 fix: add missing log filter env variables to examples (#5376)
* Sanitize sensitive fields in request header and body in logger

* fix: log request headers, body, and query only when debug logs are enabled

* fix: add missing env to examples

* fix: crash due to missing env vars
2025-10-28 16:14:49 +05:30
Ilango 2ae4678da4 Sanitize sensitive fields in request header and body in logger (#5279)
* Sanitize sensitive fields in request header and body in logger

* fix: log request headers, body, and query only when debug logs are enabled
2025-10-27 13:06:34 +05:30
Ilango ac252516f8 fix: migration errors for text to speech and chatflow name index (#5287)
* fix: add another migration to fix missing textToSpeech column

* fix: chatflow name index error

* fix: review
2025-10-03 10:57:16 +01:00
IlangoandHenry 9b8fee3d8f Text to speech (#5062)
* Add tts UI

* Add tts backend

* Add description to eleven labs credentials

* Fix issue with fetching eleven labs voices

* Fix issue with text to speech tab not showing correct saved voice

* Add option to autoplay tts audio after prediction completes

* Fix crash issue when first changing tts provider

* Set up streaming response for text to speech audio

* Update controllers - fix issue with sse client getting removed before tts events are sent

* Use existing sse streamer to stream tts audio before sse client is removed

* Add tts sse to redis publisher

* Fix issues with TTS - openai voices, streaming audio, rate limiting, speed of speech

* Refactor

* Refactor TTS - fix issues with tts loading and stop audio buttons

* Abort TTS SSE when clicking the stop button

* Update SSE handling for TTS

* Fix issue with test voice feature

* Fix issue with tts voices not loading

* Update generate tts endpoint and its usage in internal chat

* Whitelist tts generate endpoint

* Refactor Text-to-Speech Provider Selection and Enhance UI Components

- Updated the text-to-speech controller to select the active provider based on status instead of the first available provider
- Added audio waveform controls and test audio functionality in the TextToSpeech component, allowing users to play and pause test audio
- Integrated Autocomplete for voice selection in the TextToSpeech component
- Implemented TTS action management in ChatMessage to prevent auto-scrolling during TTS actions

* - Implemented stopAllTTS function calls to halt existing TTS audio before playing new audio or starting a new TTS stream

* Updated the condition for enabling TTS providers to exclude the 'none' provider, ensuring only valid providers are considered for text-to-speech functionality.

* Remove unnecessary code

* Add ability to abort audio streaming in TTS and release lock on chat input

* Remove logger

* Fix tts audio not playing when clicking speaker button

* update

* TTS abort controller

* Fix abort not working for TTS autoplay

* Send metadata event when aborting autoplay TTS

* Fix UI issue

* Remove elevenlabs sdk from root package.json

* Remove redundant condition for tts autoplay in chatflow

---------

Co-authored-by: Henry <[email protected]>
2025-10-02 12:19:06 +01:00
Ilango e48f28d13d Update SSL-related env for database connections (#5242) 2025-09-26 10:05:35 +01:00
Ilango 9181ae2879 Fix output type for request tools - get, put, post, and delete (#5044) 2025-08-08 10:46:49 +01:00
IlangoandHenry ed27ad0c58 Add logs (#4977)
* Add better logs to build chatflow functino

* Add connection logs to queue manager

* Redact credentials

* Add connection logs for redis pub-sub

* add more loggings around queue

---------

Co-authored-by: Henry <[email protected]>
2025-07-31 11:04:01 +01: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
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 <[email protected]>
Co-authored-by: Ong Chung Yau <[email protected]>
2025-03-24 15:20:09 +05:30
IlangoandHenry 537aa51ef8 Enable/disable variables in override configuration (#3467)
* Add ability to enable/disable which variables can be overriden during external predictions

* Remove duplicated code

* Remove rate limit and allowed domains tab from chatflow configuration

* Show tooltip in api code dialog for override config properties

* Fix server crash when override config is not available

* update UI for chatflow config security, file upload

* Fix UI issues in security tab of chatflow configuration dialog

* Fix override config options not updating when nodes change

* Fix crash in api code dialog when overrideConfig is not available for a chatflow/agentflow. Also fix input config in api code dialog not updating when nodes change.

* Refactor override config and add override config for variables

* Update api code dialog - update how override config is read and show variable overrides

* Update how node and variable overrides are read and resolved

* Prevent api code dialog mounting on page load and only mount when api code dialog button is clicked. this should fix loading incorrect data.

* Fix variables list not showing when overrideConfig is not available

* add overrideconfig to agentflow and upsert vector

* temporarily removed enable overrideconfig on upsert, fix linting issues

---------

Co-authored-by: Henry <[email protected]>
2024-11-13 18:21:59 +00:00
+2 c9d8b8716b Feature: Follow-up Prompts (#3280)
* Add migrations - add follow up prompts column to chatflow and chat message

* Add configuration tab for follow-up prompts

* Add follow up prompts functionality

* Pin zod version in components - this was causing a type error with structured outputs

* Generate follow up prompts if enabled and return it in stream, response, and save to database

* Show follow up prompts after getting response

* Add google gen ai for generating follow up prompts and fix issues

* Add config for google gen ai and update model options

* Update follow-up prompts ui and styles

* Release/2.1.0 (#3204)

[email protected] release

* Chore/update flowise embed version to 2.0.0 (#3205)

* update flowise-embed version on lock file

* add agent messages to share chatbot

* Update pnpm-lock.yaml

* update flowise-embed version

* update flowise-embed to 1.3.9

* update embed version to 2.0

* Bugfix/CodeInterpreter E2B Credential (#3206)

* Base changes for ServerSide Events (instead of socket.io)

* lint fixes

* adding of interface and separate methods for streaming events

* lint

* first draft, handles both internal and external prediction end points.

* lint fixes

* additional internal end point for streaming and associated changes

* return streamresponse as true to build agent flow

* 1) JSON formatting for internal events
2) other fixes

* 1) convert internal event to metadata to maintain consistency with external response

* fix action and metadata streaming

* fix for error when agent flow is aborted

* prevent subflows from streaming and other code cleanup

* prevent streaming from enclosed tools

* add fix for preventing chaintool streaming

* update lock file

* add open when hidden to sse

* Streaming errors

* Streaming errors

* add fix for showing error message

* add code interpreter

* add artifacts to view message dialog

* Update pnpm-lock.yaml

* uncomment e2b credential

---------

Co-authored-by: Vinod Paidimarry <[email protected]>

* Release/2.1.0 (#3207)

* [email protected] release

* update [email protected]

* Bugfix/Add artifacts migration script to other database types (#3210)

add artifacts migration script to other database types

* Release/2.1.1 (#3213)

release @2.1.1

* Bugfix/Add header to allow sse on nginx (#3214)

add header to allow sse on nginx

* Bugfix/remove invalid markdown (#3219)

remove invalid markdown

* Correct "as" casing (#3216)

* Correct "as" casing

* Remove "version" line from docker compose file

* Update docker-compose.yml

---------

Co-authored-by: Henry Heng <[email protected]>

* chore: update unstructured API url and doc reference (#3224)

chore: udpate unstructured API url and doc reference

* Feature/add ability to specify dynamic metadata to jsonlines (#3238)

* add ability to specify dynamic metadata to jsonlines

* fix additional metadata

* Bugfix/Buffer Memory for Anthropic (#3242)

fix buffer memory

* Added env vars to ui and api URL  (#3141)

* feat: add environment vars to split application in different deployments for better scalability

* update: package.json

added start script ui

---------

Co-authored-by: patrick <[email protected]>

* Added 1-click deployment link for Alibaba Cloud.  (#3251)

* Added a link for Alibaba Cloud Deployment

* change service name

---------

Co-authored-by: yehan <[email protected]>

* Chore/Groq Llama3.2 (#3255)

* 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

* Bugfix/Prevent streaming of chatflow tool and chain tool (#3257)

prevent streaming of chatflow tool and chain tool

* Bugfix/Enable Custom Tool Optional Input Schema (#3258)

* prevent streaming of chatflow tool and chain tool

* enable optional input schema

* Bugfix/Searxng tool not working (#3263)

fix searxng tool not working

* LunaryAI automatic Thread and User tracking (#3233)

* Lunary Thread/User tracking

* Clean console logs

* Clean

* Remove commented lines

* Remove commented line

* feat: enable autofocus to the `new chatflow title` to improve usability (#3260)

This dialog has only one input and it is the primary one, there is no need for an extra click to be able to set the title

* feat: save a new Chatflow when the `ENTER` key is pressed (#3261)

This simple event handler improve the usability of the UI by avoiding having to use the mouse or having to tab twice and then hit enter to save a flow

* feat: save Chatflow title when the `ENTER` key is pressed or discard upon `ESC` is pressed (#3265)

This simple event handler improves the usability of the UI by avoiding having to use the mouse to save or dicard title changes

* feat: enable autofocus to the `edit chatflow title` field to improve UI usability (#3264)

feat: enable autofocus to the `edit chatflow title` field to improve usability

The canvas header has only one input and it is the primary one, there is no need for an extra click to be able to edit the title

* feat: add search keyboard shortcut based on the current platform (#3267)

* feat: highlight valid/invalid connection between nodes (#3266)

Change the inputs background to green/red to hint compatible connections, in adition to the `not-allowed` mouse cursor for incompatible connections

* Bugfix/add fixes for search of view header (#3271)

add fixes for search of view header

* fix: warning when passing a boolean to border property of a Card (#3275)

By default MainCard wrappers like NodeCardWrapper and CardWrapper add a a solid border of 1px, but if the `MainCard.border` prop is used (`false`) the border prop was wrongly set to a boolean instead of string

* feat: add shortcut text hint to the search field (#3269)

* feat: add shortcut text hint to the search field

* fix: search box width to fit the shortcut hint text

* fix: error when not running on Mac due to an undefined `os` variable

* fix: warning when a non-boolean values was used to set `checked` prop of a SwitchInput component (#3276)

fix: warning when a non-boolean values was used to set`checked` prop of SwitchInput component

The problem was that in the useEffect hook the plain value was used without validation like in useState

* Bugfix/Throw error to prevent SSE from retrying (#3281)

throw error to prevent SSE from retrying

* Pin zod version in components - this was causing a type error with structured outputs

* Fix conflicts in pnpm lock

* fix ui changes for follow up prompts

* Fix button disable state in follow-up prompts configuration

* Fix follow-up prompts not showing up for agent flows

* Show follow up prompts if last message is apiMessage and follow up prompts are available

---------

Co-authored-by: Henry Heng <[email protected]>
Co-authored-by: Vinod Paidimarry <[email protected]>
Co-authored-by: Cross <[email protected]>
Co-authored-by: cragwolfe <[email protected]>
Co-authored-by: patrickreinan <[email protected]>
Co-authored-by: patrick <[email protected]>
Co-authored-by: yehan <[email protected]>
Co-authored-by: yehan <[email protected]>
Co-authored-by: Vincelwt <[email protected]>
Co-authored-by: Humberto Rodríguez A. <[email protected]>
Co-authored-by: Henry <[email protected]>
2024-10-04 16:44:28 +01:00
Ilango e5018d2743 Filter by feedback type in view messages dialog (#2869)
* Update get chat messages and stats filter to work with feedback type filter

* Add feedback type filter to view messages dialog

* Fix issues with feedback type filter
2024-07-26 15:47:58 +01:00
Ilango ab76c48111 Add table view to tools page (#2870) 2024-07-24 18:23:03 +01:00
IlangoandHenry db452cd74d Feature: Collect contact information from users inside the chatbot (#1948)
* Add leads settings to chatflow configuration

* Add leads tab to chatflow configuration with options for lead capture

* Add database entity and migrations for leads

* Add endpoint for adding and fetching leads

* Show lead capture form in UI chat window when enabled

* Add view leads dialog

* Make export leads functional

* Add input for configuring message on successful lead capture

* Add migrations for adding lead email in chat message if available

* show lead email in view messages

* ui touch up

* Remove unused code and update how lead email is shown in view messages dialog

* Fix lead not getting saved

* Disable input when lead form is shown and save lead info to localstorage

* Fix lead capture form not working

* disabled lead save button until at least one form field is turned on, get rid of local storage _LEAD

* add leads API to as whitelist public endpoint

* Send leadEmail in internal chat inputs

* Fix condition for disabling input field and related buttons when lead is enabled/disabled and when lead is saved

* update leads ui

* update error message and alter table add column sqlite migration

---------

Co-authored-by: Henry <[email protected]>
2024-05-02 01:54:59 +01:00
IlangoandHenry f4c7887e50 Feature: define a custom error message for allowed domains (#2194)
* Add a field for custom error message in allowed domains configuration

* enhance UI for more consistency

* update pnpm version

* update pnpm version

---------

Co-authored-by: Henry <[email protected]>
2024-04-19 03:13:28 +01:00
Ilango 0511ea1f56 Fix: UI issues in credentials dialog and card descriptions (#2137)
* Update styles for dashboard page

* Fix grid in chatflows and marketplaces pages

* Update styles for main routes

* Create ViewHeader component and use it in chatflows and marketplace

* Use viewheader in all main routes views and make the styles consistent

* Update table styles for chatflow and marketplace views

* Update table and grid styles in all main routes views

* Make backgrounds, borders, and colors everywhere

* Apply text ellipsis for titles in cards and tables

* Update credentials list dialog styles

* Update tools dialog styles

* Update styles for inputs and dialogs

* Show skeleton loaders for main routes

* Apply text ellipsis to chatflow title in canvas page

* Update icons for load and export buttons in tools and assistants

* Fix issue where table header is shown when number of elements is zero

* Add error boundary component to main routes

* Capture errors from all requests in main routes

* Fix id for add api key and add variable buttons

* Fix missing th tag in variables table body

* Fix credentials search background color

* Apply multiline text ellipsis to description in ItemCard

* Fix unused import
2024-04-09 15:34:59 +01:00
Ilango 20a500efb5 Fix: Empty starter prompt creating empty bubbles (#2139)
Fix empty starter prompt creating empty bubbles
2024-04-09 15:34:49 +01:00
Ilango 19bb23440a UI Improvements (#1935)
* Update styles for dashboard page

* Fix grid in chatflows and marketplaces pages

* Update styles for main routes

* Create ViewHeader component and use it in chatflows and marketplace

* Use viewheader in all main routes views and make the styles consistent

* Update table styles for chatflow and marketplace views

* Update table and grid styles in all main routes views

* Make backgrounds, borders, and colors everywhere

* Apply text ellipsis for titles in cards and tables

* Update credentials list dialog styles

* Update tools dialog styles

* Update styles for inputs and dialogs

* Show skeleton loaders for main routes

* Apply text ellipsis to chatflow title in canvas page

* Update icons for load and export buttons in tools and assistants

* Fix issue where table header is shown when number of elements is zero

* Add error boundary component to main routes

* Capture errors from all requests in main routes

* Fix id for add api key and add variable buttons

* Fix missing th tag in variables table body
2024-04-08 11:15:42 +05:30
Ilango 49846cd66a Set embed versions to latest (#1957) 2024-03-15 12:08:16 +05:30
Ilango 1459190adc Merge pull request #1941 from 0xi4o/bug/starter-prompts-scroll
Fix: starter prompts exceeds chat window and cannot be scrolled
2024-03-14 08:59:20 +05:30
Ilango 0ebfa68b93 Merge pull request #1873 from 0xi4o/feature/chatflow-configuration
Feature: Add configuration dialog for chatflow
2024-03-13 17:48:33 +05:30
Ilango 0726fc3751 Merge pull request #1733 from 0xi4o/feature/chat-message-feedback
Feature: Chat message feedback
2024-03-12 16:35:43 +05:30
Ilango 63d9c94048 Merge pull request #1272 from use-the-fork/maintenance/pnpm-vite-jsx
Maintenance/pnpm vite jsx (Enhancements to the Project Infrastructure)
2024-03-12 12:59:04 +05:30