Commit Graph

674 Commits

Author SHA1 Message Date
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
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
Henry Heng 145a3bb415
Release/2.2.7-patch.1 (#4180)
flowise@2.2.7-patch.1
2025-03-14 14:47:34 +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
Asharib Ali c3ea5a9b8f
Add support for GPT-4.5-preview model in OpenAI Assistant Dialog (#4147) 2025-03-11 17:29:50 +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
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 da04289ecf
Release/2.2.6 (#4102)
flowise@2.2.6
2025-02-28 12:25:48 +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
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 97a196e11a
Chore/patch deps (#4015)
patch deps
2025-02-26 15:19:13 +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
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 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 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
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
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 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
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
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
Henry Heng ef96b57303
Release/2.2.4 (#3870)
flowise@2.2.4 release
2025-01-14 20:47:48 +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 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 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
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
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 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
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
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
Henry Heng 4e434fd725
Release/2.2.3 (#3756)
release @2.2.3
2024-12-23 12:03:03 +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
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
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
Henry Heng 4044febfd9
Bugfix/Add tool description to custom assistant (#3727)
add tool description to custom assistant
2024-12-17 23:39:32 +00:00
Danilo Ferreira 6511fb3fe1
fix: mapping full file upload configuration (#3713) 2024-12-17 23:28:29 +00:00
Anthony Bryan Gavilan Vinces 4c29b2390c
Feature/Add Groq Whisper support (#3706)
* feat: Add Groq Whisper support to SpeechToText component

- Introduced a new speech-to-text provider, Groq Whisper, in both the backend and UI components.
- Updated SpeechToTextType to include GROQ_WHISPER.
- Implemented Groq client integration for audio transcription with customizable model, language, and temperature options.
- Added UI elements for Groq Whisper configuration, including input fields for model, language, and temperature settings.

* turn speech to text none status to false when other was selected

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-17 23:11:07 +00:00
Henry Heng b087f4c4a1
Release/2.2.2 (#3673)
flowise@2.2.2 release
2024-12-10 16:14:22 +00:00
Henry Heng 5c5416240b
Chore/remove app server functions from utils file (#3671)
* remove app server functions from utils file

* hide override config variables if its empty
2024-12-10 14:11:29 +00:00
Henry Heng cadc3b8fb3
Feature/Add dedicated agent memory nodes (#3649)
add dedicated agent memory nodes
2024-12-06 22:16:01 +00:00
Henry Heng fe2ed26999
Feature/Custom Assistant Builder (#3631)
* add custom assistant builder

* add tools to custom assistant

* add save assistant button
2024-12-06 22:11:17 +00:00
Henry Heng 371da23986
Bugfix/Node ID Replacing Existing One (#3643)
fix node is replacing
2024-12-05 21:42:45 +00:00
Henry Heng 20e093884b
Bugfix/Uploaded file type is empty (#3634)
* fix bug where uploaded file type is empty

* Update ChatMessage.jsx
2024-12-05 11:21:02 +00:00
Henry Heng 3b804d7777
Release/2.2.1 (#3607)
minor patch fix @2.2.1
2024-11-29 13:18:27 +00:00
Henry Heng 3478b39a40
Release/2.2.0 (#3601)
flowise@2.2.0
2024-11-28 16:05:49 +00:00
toi500 af5e6b0968
Enhanced Chat Embed Configuration View (#3559)
* Changes Made to Embed Chat Configuration
1. Consolidated multiple configuration functions into a single `defaultThemeConfig` object
2. Added full theme configuration support for both popup and fullpage modes
3. Fixed fullpage chat window sizing to use 100% height and width
4. Improved code formatting and readability

* fix: replace empty customCSS quotes with backticks in theme configuration output

* refactor: improve script output formatting for embed chat code

* Fixed incorrect spacing in React component theme prop string templates.
2024-11-25 23:08:59 +00:00
Henry Heng a2c36b4447
Feature/Add new doc store upsert and refresh API (#3556)
add new doc store upsert and refresh API
2024-11-25 15:47:13 +00:00
Henry Heng ebf9a98341
Release/2.1.5 (#3535)
flowise@2.1.5
2024-11-19 16:13:30 +00:00
Henry Heng d0571291b7
Release/2.1.4 (#3506)
release 2.1.4
2024-11-13 18:39:14 +00:00
Ilango 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 <hzj94@hotmail.com>
2024-11-13 18:21:59 +00:00
Henry Heng 1e2dc03527
Bugfix/Address file name with special chars (#3496)
address file name with special chars
2024-11-09 15:21:09 +00:00
Tyler 835b1511d7
Add Up and Down arrow functionality to chat messages (#3440)
* Add Up and Down arrow functionality to chat messages

- Works like Linux shell
- History limited to 10 messages

* Fix linting errors

* Update EmbedChat.jsx

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-11-09 00:43:33 +00:00
khakanali 8466e1a0b0
fix(proxy): restrict proxy to exact /api routes only (#3456) 2024-11-07 23:04:54 +00:00
Henry Heng 598f9a6fa0
Bugfix/Save default credential data when add new (#3435)
save default credential data when add new
2024-11-01 01:12:51 +00:00
Prajwal Pai 884dd8949a
Add couchbase vectore store support (#3093)
* Add couchbase vectore store support

* Uncomment couchbase code

* lint fix

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-10-26 02:36:38 +01:00
Henry Heng 95e0f01912
Release/2.1.3 (#3403)
update flowise@2.1.3
2024-10-23 13:29:25 +01:00
Henry Heng 53e504c32f
Feature/Full File Uploads & Message Delete API (#3314)
* add functionality for full file uploads, add remove messages from view dialog and API

* add attachments swagger

* update question to include uploadedFilesContent

* make config dialog modal lg size
2024-10-23 11:00:46 +01:00
Henry Heng a0d93f910f
Feature/add rendering html tags for share chatbot (#3343)
add rendering html tags for share chatbot
2024-10-21 11:37:13 +01:00
Prateek Jakhar 6c3541915b
fix: added search for node labels (#3348) 2024-10-13 14:43:22 +01:00
Henry Heng a5d4b55bbd
Bugfix/Follow up prompts status (#3341)
bugfixes of follow up prompts status, unauthroized error message and rate limit ui
2024-10-11 15:43:28 +01:00
Henry Heng f7ad125bbd
Release/2.1.2 (#3324)
release@2.1.2
2024-10-09 16:50:50 +01:00
Henry Heng 10bfba78dd
Bugfix/Rate limit updating (#3311)
fix rate limit updating
2024-10-05 13:33:53 +01:00
Ilango 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)

flowise@2.1.0 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 <vinodkiran@outlook.in>

* Release/2.1.0 (#3207)

* flowise@2.1.0 release

* update flowise-components@2.1.1

* 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 <henryheng@flowiseai.com>

* 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 <patrick.alves@br.experian.com>

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

* Added a link for Alibaba Cloud Deployment

* change service name

---------

Co-authored-by: yehan <gn398171@alibaba-inc.com>

* 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 <henryheng@flowiseai.com>
Co-authored-by: Vinod Paidimarry <vinodkiran@outlook.in>
Co-authored-by: Cross <github@dillfrescott.com>
Co-authored-by: cragwolfe <cragcw@gmail.com>
Co-authored-by: patrickreinan <patrickreinan@gmail.com>
Co-authored-by: patrick <patrick.alves@br.experian.com>
Co-authored-by: yehan <34835250+yehanyh@users.noreply.github.com>
Co-authored-by: yehan <gn398171@alibaba-inc.com>
Co-authored-by: Vincelwt <vincelwt@users.noreply.github.com>
Co-authored-by: Humberto Rodríguez A. <rhumbertgz@users.noreply.github.com>
Co-authored-by: Henry <hzj94@hotmail.com>
2024-10-04 16:44:28 +01:00
Henry Heng 01ae2ac7c4
Bugfix/Throw error to prevent SSE from retrying (#3281)
throw error to prevent SSE from retrying
2024-09-28 03:11:03 +01:00
Humberto Rodríguez A. 99cb8c32cb
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
2024-09-27 13:50:05 +01:00
Humberto Rodríguez A. da0a15eee1
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
2024-09-27 13:48:33 +01:00
Humberto Rodríguez A. d3c5abf8be
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
2024-09-27 11:07:39 +01:00
Henry Heng a02846077e
Bugfix/add fixes for search of view header (#3271)
add fixes for search of view header
2024-09-26 19:05:46 +01:00
Humberto Rodríguez A. d2d3f3d0cf
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
2024-09-26 15:47:43 +01:00
Humberto Rodríguez A. 4381656a6e
feat: add search keyboard shortcut based on the current platform (#3267) 2024-09-26 15:26:54 +01:00
Humberto Rodríguez A. aeb5525bb0
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
2024-09-26 15:26:13 +01:00
Humberto Rodríguez A. b8b34832b4
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
2024-09-26 15:25:47 +01:00
Humberto Rodríguez A. eafa06015a
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
2024-09-26 15:25:21 +01:00
Humberto Rodríguez A. 9f6fcb9cf6
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
2024-09-26 15:08:35 +01:00
Vincelwt 18f916a7e1
LunaryAI automatic Thread and User tracking (#3233)
* Lunary Thread/User tracking

* Clean console logs

* Clean

* Remove commented lines

* Remove commented line
2024-09-26 12:01:33 +01:00
patrickreinan 383a7132a4
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 <patrick.alves@br.experian.com>
2024-09-24 15:28:25 +01:00
Henry Heng 793319c9ae
Release/2.1.1 (#3213)
release @2.1.1
2024-09-18 10:16:28 +01:00
Henry Heng 7840a37f2f
Release/2.1.0 (#3204)
flowise@2.1.0 release
2024-09-17 11:15:12 +01:00
Henry Heng b02f279e9d
Feature/Code Interpreter (#3183)
* 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

---------

Co-authored-by: Vinod Paidimarry <vinodkiran@outlook.in>
2024-09-17 08:44:56 +01:00
Vinod Kiran 26444ac3ae
Feature/sse (#3125)
* 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

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-09-17 08:01:25 +01:00
Vinod Kiran b02bdc74ad
Feature: Custom Templates (#3169)
* New Feature: Custom Templates in the marketplace.

* New Feature: Custom Templates in the marketplace.

* Custom Template Delete and Shortcut in the dropdown menu

* auto detect framework

* minor ui fixes

* adding custom template feature for tools

* ui tool dialog save template

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-09-16 14:44:39 +01:00
Ong Chung Yau 56f9208d7c
Feature/export import stage 2 (#3063)
* add export all function

* modify exportAll to reuse existing code from other services

* modify routes of export-import

* add exportAll function into UI

* add errorhandler

* add importAll Function into UI for ChatFlow

* modify importAll Function to import tools

* remove appServer variable

* modify exportAll to exportData for new requirement in backend

* chore modify type camelCase to PascalCase in exportImportService

* add import export for variables, assistants, and checkboxes for UI

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-09-10 18:15:45 +01:00
Henry Heng 474793486b
Bugfix/Prevent sending non image file (#3173)
* bugfix to prevent sending non image file

* fix typo
2024-09-09 21:02:47 +01:00
Aman Soni 0e30db172a
Embed Chat Configuration Updated (#3151) 2024-09-05 17:43:46 +01:00