* Changed text warning name invalid
* Change invalidNameList to include components
* 📝 (generalBugs-shard-13.spec.ts): add missing comments to clarify the purpose of the code block and improve code readability
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
🔧 (utils.py): refactor import statement to get version info from utils module instead of version module
🔧 (index.tsx): add dataTestId attribute to submit button in ShareModal component for testing purposes
✨ (generalBugs-shard-13.spec.ts): add end-to-end test to verify sharing a flow on the Langflow Store via modal interaction
* fix: TypeError: object LangfuseResponseGeneratorSync can't be used in 'await'
* 🔧 (generalBugs-shard-1.spec.ts): remove unnecessary empty line to improve code readability
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* Add CassandraGraphVectorStoreComponent and HtmlLinkExtractorComponent
* Move uuid import to global imports
* fix test with new text spliter
* update poetry lock
* ci: add continue-on-error to py_autofix.yml
---------
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
* update templates
* update to include global variables
* Refactor code to include global variables
* update PythonREPLTool.py
* [autofix.ci] apply automated fixes
* update pythonREPL and example
* Refactor code to handle decoding chat messages and handle decoding errors
* ✨ (Simple Agent.spec.ts): Add test case to fill textarea with specific text for testing purposes
📝 (Simple Agent.spec.ts): Update test case descriptions for better clarity and accuracy
✅ (Simple Agent.spec.ts): Update test assertions to match the expected behavior of the test case
* [autofix.ci] apply automated fixes
* 🐛 (Dynamic Agent.spec.ts): fix environment variable name from BRAVE_SEARCH_API_KEY to SEARCH_API_KEY for consistency and clarity
💡 (Dynamic Agent.spec.ts): add additional test cases to improve test coverage and ensure specific text is not present in the chat output
* 🔧 (.github/workflows/typescript_test.yml): update environment variable name from BRAVE_SEARCH_API_KEY to SEARCH_API_KEY for consistency
🐛 (Travel Planning Agent.spec.ts): fix test to skip if SEARCH_API_KEY is not available in the environment variables
* ✅ (Simple Agent.spec.ts): update expected count of python words to 3 for accurate test validation
* updating search tools
* [autofix.ci] apply automated fixes
* change examples
* update travel planning to include global variable
* Refactor search API component to include result limiting
* 📝 (Travel Planning Agent.spec.ts): remove unnecessary empty line to improve code readability and consistency
* test: adjusts asserts to make the test pass successfully
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
* 📝 (Vector Store.spec.ts): Remove unnecessary code block related to AstraVectorStoreComponent class and its methods
♻️ (Vector Store.spec.ts): Refactor test file to remove unused imports and clean up unnecessary code blocks
🔧 (Vector Store.spec.ts): Refactor code to include conditional logic based on the presence of "dev" in ASTRA_DB_API_ENDPOINT environment variable
🔧 (Vector Store.spec.ts): Add function extractAndCleanCode to extract and clean code content from HTML element
* 🐛 (Vector Store.spec.ts): fix incorrect check for Astra DB API endpoint to include "astra-dev" instead of "dev" for proper environment detection
* ✨ (index.tsx): Add ShadTooltip component to provide tooltips for folder buttons for better user experience
📝 (index.tsx): Import useIsFetching from "@tanstack/react-query" to check if there are ongoing data fetching operations before enabling folder buttons
* 🔧 (index.tsx): add isPending variable to usePostFolders hook to track loading state for adding folders
🔧 (index.tsx): update disabled attribute in add and upload folder buttons to include isPending variable to prevent multiple submissions
---------
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
* Fix textarea with password visual bug
* Changed password field to default to none
* updated sanitizedHTMLWrapper to receive ref
* fixed sanitizedhtmlwrapper type
* Added back to scroll position and cursor position on Chrome
* [autofix.ci] apply automated fixes
* Fix position of password
* Fixed tests
* Fixed examples
* Fixed test schema
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
* Removed output from node output field
* Removed setShowState that is unused
* Render nodestatus only if !showNode
* Fix node status showing when minimized
* Fix node not expanding after minimized if an output was hidden
* Lint
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* new tests folders organizations
* 📝 (nightly_build.yml): update tests_folder path from "tests/scheduled" to "tests/core" to reflect the correct location of the tests folder
* renaming test folder
* changing e2e to integrations folder
* 📝 (frontend/tsconfig.json): update test file paths to reflect changes in folder structure for better organization and clarity
* change assets folder
* 📝 (frontend): update file paths to remove redundant 'core' directory in test assets
* 📝 (Document QA.spec.ts, Vector Store.spec.ts, fileUploadComponent.spec.ts): Update file paths to correctly reference test assets in integration and unit tests.
* github suggestions
* feat: Add scroll detection for NodeDescription overflow
* style: update CSS to hide non-selected note nodes
* remove feature flag
* [autofix.ci] apply automated fixes
* refactor: update feature flags and test IDs
- Update ENABLE_MVPS flag to false in feature-flags.ts
- Update testId from "extended-disclosure" to "bundle-extended-disclosure" in extraSidebarComponent/index.tsx
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* first attempt to edit variables on the data table
* refactor: Rename AddNewVariableButton to GlobalVariableModal and update its usage
The component AddNewVariableButton has been renamed to GlobalVariableModal to better reflect its purpose. The component is now used in multiple places, including the GlobalVariablesPage and InputGlobalComponent. This change improves code clarity and consistency.
* fix: fix apply to fields on table edit option
* refactor: Trim field names before checking for availability in GlobalVariableModal and GlobalVariablesPage
Trim field names before checking for availability in GlobalVariableModal and GlobalVariablesPage to ensure consistent comparison and avoid any potential issues with leading or trailing spaces.
* Refactor GlobalVariablesPage to remove unused cellRenderer in the "value" field
* [autofix.ci] apply automated fixes
* Add validation for 'value' field in VariableRead model and import CREDENTIAL_TYPE
- Introduced a field validator for the 'value' field in the VariableRead model to handle cases where the variable type is CREDENTIAL_TYPE.
- Added necessary import for CREDENTIAL_TYPE.
- Removed an unnecessary blank line in the variable API.
* Add constants for credential and generic types in variable service
* Refactor import statements in `kubernetes.py` to improve module organization
* Refactor imports in test_service.py for better organization
* refactor: Update import statements in variable.py for better organization
* Refactor import and reorder fields in VariableRead model
- Changed import of `CREDENTIAL_TYPE` from `service` to `constants` module.
- Reordered fields in `VariableRead` model to place `type` before `value`.
* ✨ (userSettings.spec.ts): Add additional randomName variables for testing purposes
📝 (userSettings.spec.ts): Update test to interact with global variables and improve readability and maintainability of the code
* test: fix test_create_variable
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
* 📝 (buttonSendWrapper/index.tsx): refactor button styling logic to use constants for better readability and maintainability
🐛 (buttonSendWrapper/index.tsx): fix logic to disable button when chat is locked and not building
🐛 (buttonSendWrapper/index.tsx): fix conditional rendering of icons based on button state
* ✨ (stop-button-playground.spec.ts): Add end-to-end test for stopping building from inside Playground.
* 🔧 (buttonSendWrapper/index.tsx): refactor conditional logic to correctly prioritize showStopButton condition and improve code readability
* ✅ (stop-button-playground.spec.ts): add assertion to check if "build stopped" text is visible after clicking on the stop button
* feat: Add x-large size option to baseModal
The code changes introduce a new size option "x-large" to the baseModal component. This size option sets the minimum width to "min-w-[95vw]" and the height to "h-[95vh]". This change allows for a larger modal size when needed.
* feat: Add x-large size option to baseModal
* chore: Update CodeAreaModal to use x-large size option
* feat: Update EditNodeModal to use x-large size option
* feat: Update FlowLogsModal to use x-large size option
* chore: Update modal components to use x-large size option
* 🔧 (applies.css): Rearrange CSS classes properties for better readability and maintainability. Fix the order of properties in CSS classes to follow a consistent pattern.
* refactor to improve readability
* refactor to improve readability
* refactor to improve readability
* refactor to improve readability
* refactor to improve readability
* refactor to improve readability
* refactor to improve readability
* refactor to improve readability
* ✅ (Simple Agent.spec.ts): update expected count of python words to 2 for accurate test results
📝 (auto-login-off.spec.ts): add a 1-second timeout before checking visibility of a text element to ensure proper rendering and improve test reliability
* 📝 (cardComponent/index.tsx): Extract handlePlaygroundClick function to improve code readability and maintainability
📝 (codeAreaComponent/index.tsx): Refactor code to use consistent naming conventions and improve code structure
📝 (rename-label.tsx): Refactor code to use consistent naming conventions and improve code structure
📝 (dictAreaModal/index.tsx): Refactor code to use consistent naming conventions and improve code structure
* 🔧 (rename-label.tsx): Refactor RenameLabel component to improve readability and maintainability by restructuring the component logic into separate functions for handling blur, change, and double click events. Split the component rendering logic into separate functions for input and span elements.
* update type
* [autofix.ci] apply automated fixes
---------
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat: Add useUtilityStore hook to IOModal for setting playground scroll behavior
* feat: Add useUtilityStore hook to IOModal for setting playground scroll behavior
* feat: Add setPlaygroundScrollBehaves function to useUtilityStore hook
* feat: Update codeTabsPropsType to allow undefined for the 'open' property
* feat: Add `playgroundScrollBehaves` and `setPlaygroundScrollBehaves` to `UtilityStoreType`
The `UtilityStoreType` now includes the `playgroundScrollBehaves` property of type `ScrollBehavior` and the `setPlaygroundScrollBehaves` function to update it. This allows for managing the scroll behavior of the playground in the application.
* refactor: Remove unused 'open' prop from CodeTabsComponent
✨ (decisionFlow.spec.ts): Remove unnecessary code related to connection 4 and improve flow by adding a new connection for prompt input user message
📝 (decisionFlow.spec.ts): Update test to fill in a different message in the chat playground and verify a different emoji response
* Updated save flow to only execute when the flow has unsaved changes
* Made flowPage call saveFlow immediatly when trying to exit page
* Changed save changes modal to automatically exit when saved on autoSave
* Changed flowPage to save and exit when autoSave
* Remove confirmation button if it does not exist and remove footer if confirmation and cancel does not exist
* Changed saveChangesModal to not show buttons when autoSave is on and to set loading as true when autoSave is off and the user saves
* Add timer to close modal, so, if saving takes less than 1 second, it waits
* Changed type of confirmationModal
* Added handling for when it's building and there is unsaved changes
* Added success toast when flow finishes saving
* refactored confirmationModal
* check autoLogin !== undefined before calling things
* Fix use save flow to compare the passed flow instead of the current one
* Changed style of save changes modal
* deleted build in progress modal
* Removed build in progress modal, just stopping the build
* Fix condition on api
* Changed condition to be autoLogin !== undefined
* Remove save on pan flow and added fit view
* Removed viewport setting on resetFlow and setReactflowInstance
* Made last saved appear on header
* Made it only fit on set react flow instance
---------
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
fix: Update transition property in App.css
The transition property in App.css has been updated to only transition the color property instead of all properties. This change improves performance by reducing unnecessary transitions.
* ✨ (use-get-folders.ts): Update useGetFoldersQuery to check if types are empty before calling getTypes to avoid unnecessary API calls
♻️ (typesStore.ts): Remove unnecessary useAlertStore setState call to improve code readability and maintainability
* feat: Update getTypes function to always force refresh
The `getTypes` function in `typesStore.ts` has been updated to always force a refresh of the types data. This change ensures that the latest data is fetched from the API, avoiding unnecessary API calls.
* Changed types check in other pages
---------
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
* fix: Problem in the description field when using the MariaDB or MySQL database.
* fix: Problem in the description field when using the MariaDB or MySQL database.
* fix: Add the migration script to update description columns type.
* [autofix.ci] apply automated fixes
* Update src/backend/base/langflow/alembic/versions/1d90f8a0efe1_update_description_columns_type.py
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* feat: add component clickhouse for vector database
* feat: add component clickhouse for vector database - conflicts resolved
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* feat: add component clickhouse for vector database - conflicts resolved
* feat: add component clickhouse for vector database - update poetry
* feat: add component clickhouse for vector database - conflicts resolved
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
* Removed refetching of get folder on save
* Made component appear if its loading
* Rebaned query key to not refetch folders
* Changed isLoading to isFetching for the component to be unclickable while refetching
* Fixed IOModal calling getMessages again
* Fixed folders API being called twice
* removed unused imports
* Re-added query of get messages and changed to enable query when open
* Fix auto login off test
* Fix border node color to use ring in order to not shrink component and to use selected edge color
* Updated selected edge width to match selected node width
---------
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
* Added key to sidebar buttons
* Added key directrly to sidebar category
* Removed key definition on sidebar category
* Fix error of nested buttons on secretKeyModal
* Fix nested buttons on output modal
* Fix clip-path warning on components
* Fix components cannot be given refs on nodeOutputField
* Removed unused console.log
* Added key on profile pictures map
* Fixed hideOverlay being called when the table is destroyed
* Fixed valueFormatter error on Apply To Fields field on GlobalVariables page
* Updated headers on config page to ensure consistent design
* 🐛 (sideBarFolderButtons/index.tsx): fix success message not being set when files array is empty
* 🐛 (index.tsx): fix issue where success message was not being displayed when uploading files successfully
* Added buildController and stopBuilding controllers
* Used stop building in header Stop button
* Set the build controller in API performstreamingrequest
* added setbuildcontroller to types
* feat: Add NoteDraggableComponent to extraSidebarComponent
This commit adds the NoteDraggableComponent to the extraSidebarComponent in the FlowPage. The NoteDraggableComponent allows users to drag and drop sticky note icons onto the page. When a note is dragged, its data is set as "note" in the dataTransfer object. The note has a default text value of null and a noteColor of "yellow". This component enhances the user experience by providing a convenient way to add notes to the page.
* feat: Add NoteNode component for displaying and editing notes
This commit adds the NoteNode component, which is responsible for displaying and editing notes in the FlowPage. The NoteNode component includes functionality for resizing, selecting, and editing the note text. It enhances the user experience by providing a convenient way to add and manage notes on the page.
* feat: Add NoteNode and NoteDraggableComponent for managing notes in FlowPage
This commit adds the NoteNode component, responsible for displaying and editing notes in the FlowPage. It also introduces the NoteDraggableComponent, allowing users to drag and drop sticky note icons onto the page. These components enhance the user experience by providing a convenient way to add and manage notes on the page.
* feat: Add DRAG_EVENTS_CUSTOM_TYPESS constant for custom drag event types
This commit adds the DRAG_EVENTS_CUSTOM_TYPESS constant to the constants file. It defines custom drag event types for the generic node and note node components. This constant enhances the code by providing a centralized place to manage and reference the custom drag event types.
* feat: Add support functions for custom drag event types
* feat: Add support for custom drag event types in PageComponent
This commit adds support for custom drag event types in the PageComponent of the FlowPage. It imports the necessary functions from the utils file and uses them to check if the dragged data has supported node types. This enhancement improves the drag and drop functionality by allowing only supported node types to be dropped on the page.
* feat: Add NoteDataType for managing note data in FlowPage
* refactor: create new types for noteNode
* feat: Update NoteNode component to use new NoteDataType
The NoteNode component in the NoteNode/index.tsx file has been updated to use the new NoteDataType for managing note data in the FlowPage. This change ensures consistency and improves the codebase.
* node with title and description
* feat: Add "note" alias for StickyNote in nodeIconsLucide
This commit adds the "note" alias for the StickyNote icon in the nodeIconsLucide object in the styleUtils.ts file. This alias allows for more intuitive usage of the StickyNote icon by providing an alternative name. It improves code readability and maintainability.
* refactor: Update NodeDescription component to use emptyPlaceholder prop
The NodeDescription component in the GenericNode/components/NodeDescription/index.tsx file has been updated to use the emptyPlaceholder prop. This change allows for more flexibility in customizing the placeholder text when the description is empty. It improves code reusability and enhances the user experience.
* refactor: Remove unused Textarea import in NoteNode component
* add initial resize to note component
* [autofix.ci] apply automated fixes
* refactor: add code validation functionality on tanstack mutation (#3469)
* Added Validate endpoint
* Added API Code Validate type
* Added post validate code hook
* Used mutation instead of API call to validate code
* Removed validate code api call
* refactor: Update NodeName component to use full width in GenericNode
The NodeName component in the GenericNode module has been updated to use the full width of the parent container. This change ensures that the input field or tooltip for the node name occupies the entire available space, improving the visual consistency and user experience.
* refactor: Update NodeDescription component to use full height in GenericNode
The NodeDescription component in the GenericNode module has been updated to use the full height of the parent container. This change ensures that the description text area occupies the entire available space, improving the visual consistency and user experience.
* refactor: Update NodeDescription component to use full height in GenericNode
* refactor: Update NodeDescription component to use full height in GenericNode
* increase size control on note node
* refactor: Update NoteNode component to use constants for min and max dimensions
The NoteNode component in the CustomNodes module has been updated to use the constants for the minimum and maximum dimensions. This change improves code readability and maintainability by centralizing the values in the constants file. The component now uses the NOTE_NODE_MIN_WIDTH, NOTE_NODE_MIN_HEIGHT, NOTE_NODE_MAX_HEIGHT, and NOTE_NODE_MAX_WIDTH constants for setting the dimensions of the NodeResizer and the inline styles. This ensures consistency across the application and makes it easier to adjust the dimensions in the future.
* fix overflow issue
* refactor: update NoteDraggableComponent
The NoteDraggableComponent in the extraSidebarComponent module has been updated to remove unused code and improve functionality. The code for adding a note has been removed as it is no longer needed. Additionally, the component has been updated to use a new design and layout for better user experience. This refactor improves the overall code cleanliness and removes unnecessary clutter.
* refactor: Update NoteNode component to use constants for min and max dimensions
* update component to accept multiple colors
* update note colors
* update min width
* refactor: Update NodeDescription component to accept additional styling options
The NodeDescription component in the GenericNode module has been updated to accept additional styling options. The component now includes the inputClassName, mdClassName, and style props, allowing for more customization of the input and markdown elements. This refactor improves the flexibility and extensibility of the component, making it easier to adapt to different design requirements.
* fix bug on description size
* [autofix.ci] apply automated fixes
* feat: skip note nodes when building vertices"
add check to skip nodes of type NoteNode when building vertices in the graph
this prevents unnecessary processing of note nodes which are not part of the actual graph logic
* fix: update serialization and improve error handling (#3516)
* feat(utils): add support for V1BaseModel in serialize_field
Add support for V1BaseModel instances in the serialize_field function by
checking for a "to_json" method. If the method is not present, return the
attribute values as a dictionary.
* refactor: Update field serializer function and error handling in build_flow function
* fix: no module named 'psycopg2' (#3526)
* fix: add dependecy to Dockerfile
* fix: revert quick fix
* fix: update poetry.lock
* feat: add compression support to frontend and backend (#3484)
* Added compression lib to frontend
* Added compression handling to backend
* Added compression to body requests on frontend
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* refactor: add code validation functionality on tanstack mutation (#3469)
* Added Validate endpoint
* Added API Code Validate type
* Added post validate code hook
* Used mutation instead of API call to validate code
* Removed validate code api call
* refactor: Update NodeName component to use full width in GenericNode
The NodeName component in the GenericNode module has been updated to use the full width of the parent container. This change ensures that the input field or tooltip for the node name occupies the entire available space, improving the visual consistency and user experience.
* fix imports
* refactor: remove unused import in styleUtils.ts
* refactor: update checkOldNodesOutput to include only generic nodes
The checkOldNodesOutput function in reactflowUtils.ts has been updated to include only generic nodes when checking for nodes without outputs. This change ensures that only nodes of type "genericNode" are considered, improving the accuracy of the check and preventing false positives.
* refactor: improve checkOldNodesOutput to include only generic nodes
* [autofix.ci] apply automated fixes
* 📝 (frontend): Add data-testid attribute to elements for testing purposes in NodeDescription, NoteToolbarComponent, NoteNode, and Textarea components
✨ (frontend): Create end-to-end test for interacting with sticky notes including creating, editing, duplicating, and deleting notes
* ✨ (stop-building.spec.ts): Add a 1-second delay after clicking the stop building button to improve user experience
✨ (sticky-notes.spec.ts): Add a new end-to-end test for interacting with sticky notes on the main page to ensure functionality and user interaction with sticky notes.
* refactor: update NodeName and GenericNode components to improve UI and code readability
* [autofix.ci] apply automated fixes
* chore: Update NodeDescription component to use dark mode placeholder color
* chore: Update sidebar note component icon to use StickyNote instead of SquarePen
* refactor(main.py): remove unused imports and middleware related to GZip to simplify code and improve readability
feat(main.py): add middleware for configuring logger to improve logging functionality and centralize logging configuration
* add center postion in the flow
* chore: Update NoteNode icon to use SquarePen instead of StickyNote
* [autofix.ci] apply automated fixes
* chore: Update API base URL
* [autofix.ci] apply automated fixes
* chore: add feature flag for MVPs
* code format
* ✨ (NoteNode/index.tsx): Wrap IconComponent in a div with data-testid "note_icon" for better accessibility and testing
✨ (PageComponent/index.tsx): Add data-testid "add_note" to ControlButton for easier testing and identification
🔧 (sticky-notes.spec.ts): Update test selectors to use new data-testid "note_icon" and "add_note" for improved test reliability
* chore: Update types-markdown to version 3.7.0.20240822
* feat: Add lazy loading for images in sticky-notes.spec.ts
* [autofix.ci] apply automated fixes
* update poetry lock
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes
* Refactor feature flag import for ENABLE_MVPS across components and tests
* Add skip marker to unimplemented test in test_graph_state_model.py
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* refactor: modularized categories and fixed Discover More not appearing
* refactor: modularized categories and fixed Discover More not appearing
* refactor: modularized categories and fixed Discover More not appearing
* refactor: add end-to-end test for interacting with table input component
* refactor: Remove duplicate ID in filterSidebar.spec.ts and remove commented code in tableInputComponent.spec.ts
* Changed health check to use /health_check and to be modularized
* Added default value
* Added health constant to default export
* check cors before inserting custom headers
* Added get global variables check on init
* Updated global variables to start with undefined
* Fixed redirect when showGeneralSettings is disabled
* Added isOpen props to custom api generator
* Made auto login not call refresh
* Fixed mutation query
* Removed navigation to login on logout function
* Made refresh token set cookie for docker
* Added return to login with custom navigate and added check for refreshing only if its authenticated
* Minor refactor
* Navigate after logout on get autologin
* Removed unused console.log
* Added post loading hook to appInitPage
* Removed custom post loading
* Changed custom post loading to cusotm post auth
* Adds AppAuthenticatedPage
* Uses AppAuthenticatedPage inside protected route
* Add initial setup for "Simple Agent" starter project
- Introduced a new JSON configuration for the "Simple Agent" starter project.
- The flow includes nodes for Chat Input, Chat Output, OpenAI Model, Tool Calling Agent, Calculator Tool, and Python REPL Tool.
- Configured edges to connect these nodes, enabling interaction between different components.
- Added detailed descriptions and configurations for each node to facilitate easy setup and usage.
* Add Travel Planning Agents starter project JSON file
- Introduced a new JSON file for Travel Planning Agents in the starter projects directory.
- The JSON file includes configurations for various nodes such as ChatInput, ChatOutput, OpenAIModel, ToolCallingAgent, SearchAPI, URL Content Fetcher, and CalculatorTool.
- Defined connections between nodes to create a multi-agent system for planning trips.
- Added detailed prompts and configurations for each node to facilitate travel itinerary creation and information retrieval.
* Update example names in newFlowModal to match updated project terminology
* Update agent names in undrawCards component for consistency
* Rename "Complex Agent" to "Dynamic Agent" across frontend and backend components
* format project
* ✨ (Dynamic Agent.spec.ts): Add end-to-end test for Dynamic Agent functionality
✨ (Simple Agent.spec.ts): Add end-to-end test for Simple Agent functionality
✨ (Travel Planning Agent.spec.ts): Add end-to-end test for Travel Planning Agent functionality
* ✨ (Travel Planning Agent.spec.ts): Update end-to-end test for Travel Planning Agent to include new interactions and connections for improved test coverage and functionality.
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* Refactored getHealth to get if any value of health check is not ok
* Added custom health check
* Created generic error component to display error popups
* added useHealthCheck hook
* Updated wrapper page to use health check hook
* Removed custom error
* Added custom loading page for when custom primary loading is not done
* Changed health check to be disabled when flow is building or any request is pending
* Changed text of ttimeout error
* Added analytics track
* Changed post add user to just use the function
* Added tracking in various components
* Added custom parameter support
* Added centered footer
* Removed saveLoading from the chat
* Fixed initialSetup that couldnt be null
* Added types for get codes type
* Added new types for getCodes and initialSetup on Tweaks store
* Created a use custom api code to return all code
* Passed the getCodes from the custom hook into initialSetup
* Updated tabs array to receive object
* Update every code to get correct props
* Update tweaks store to handle refactored getCodes and createTabsArray
* Added custom api generator component on top of the codetabscomponent