* refactor: Update MessageBase text attribute based on isinstance check.
* feat: Add update_message function to update a message in the database.
* refactor(chat): Update imports and remove unnecessary config method in ChatComponent.
* refactor: Add stream_message method to ChatComponent.
* refactor: Update method call in ChatOutput component.
* feat: Add callback function to custom component and update build_results signature.
* feat: Add callback parameter to instantiate_class function.
* feat(graph): Add callback functions for sync and async operations.
* feat: Add callback function support to vertex build process.
* feat: Add handling for added message in InterfaceVertex class.
* feat: Add callback support to Graph methods.
* feat(chat): Add callback function to build_vertices function.
* refactor: Simplify update_message function and use session_scope for session management.
* fix: Call set_callback method if available on custom component.
* refactor(chat): Update chat message chunk handling and ID conversion.
* feat: Add null check before setting cache in build_vertex_stream function.
* refactor: Fix send_event_wrapper function and add callback parameter to _build_vertex function.
* refactor: Simplify conditional statement and import order in ChatOutput.
* [autofix.ci] apply automated fixes
* refactor: move log method to Component class.
* refactor: Simplify CallbackFunction definition.
* feat: Initialize _current_output attribute in Component class.
* feat: store current output name in custom component during processing.
* feat: Add current output and component ID to log data.
* fix: Add condition to check current output before invoking callback.
* refactor: Update callback to log_callback in graph methods.
* feat: Add test for callback graph execution with log messages.
* update projects
* fix(chat.py): fix condition to check if message text is a string before updating message text in the database
* refactor(ChatOutput.py): update ChatOutput class to correctly store and assign the message value to ensure consistency and avoid potential bugs
* refactor(chat.py): update return type of store_message method to return a single Message object instead of a list of Messages
refactor(chat.py): update logic to correctly handle updating and returning a single stored message object instead of a list of messages
* update starter projects
* refactor(component.py): update type hint for name parameter in log method to be more explicit
* feat: Add EventManager class for managing events and event registration
* refactor: Update log_callback to event_manager in custom component classes
* refactor(component.py): rename _log_callback to _event_manager and update method call to on_log for better clarity and consistency
* refactor(chat.py): rename _log_callback method to _event_manager.on_token for clarity and consistency in method naming
* refactor: Rename log_callback to event_manager for clarity and consistency
* refactor: Update Vertex class to use EventManager instead of log_callback for better clarity and consistency
* refactor: update build_flow to use EventManager
* refactor: Update EventManager class to use Protocol for event callbacks
* if event_type is not passed, it uses the default send_event
* Add method to register event functions in EventManager
- Introduced `register_event_function` method to allow passing custom event functions.
- Updated `noop` method to accept `event_type` parameter.
- Adjusted `__getattr__` to return `EventCallback` type.
* update test_callback_graph
* Add unit tests for EventManager in test_event_manager.py
- Added tests for event registration, including default event type, empty string names, and specific event types.
- Added tests for custom event functions and unregistered event access.
- Added tests for event sending, including JSON formatting, empty data, and large payloads.
- Added tests for handling JSON serialization errors and the noop function.
* feat: Add callback function support to vertex build process.
* feat: Add callback support to Graph methods.
* feat(chat): Add callback function to build_vertices function.
* [autofix.ci] apply automated fixes
* refactor: Update callback to log_callback in graph methods.
* fetching data from messages and builds at the same time, need to remove duplicates
* refactor: Sort chat history by timestamp in ChatView component
* 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
* remove use memo to prevent bugs
* feat: add updateMessagePartial method to MessagesStoreType
* feat: update message partially in MessagesStoreType
This commit adds the `updateMessagePartial` method to the `MessagesStoreType` in `messagesStore.ts`. This method allows updating a specific message by merging the changes with the existing message object.
* feat: add log callback for start message in ChatComponent
* feat: update log_callback name
* feat: add log_callback for message in ChatComponent that are not streaming
* refactor: remove console.log statement in buildFlowVertices function
* refactor: store message in ChatInput after updating flow_id
This commit refactors the `ChatInput` component by moving the logic to store the message after updating the `flow_id` property. This ensures that the message is properly stored in the correct flow. The previous implementation had the logic to store the message before updating the `flow_id`, which could lead to incorrect storage of messages. This change improves the reliability and accuracy of message storage in the `ChatInput` component.
* refactor: move message storage logic in ChatInput after updating flow_id
* refactor: update ChatComponent to use stored_message.id instead of self.graph.flow_id
Update the `ChatComponent` class in `chat.py` to use the `stored_message.id` property instead of `self.graph.flow_id` when logging a message. This ensures that the correct message ID is used for logging purposes. The previous implementation used the flow ID, which could lead to incorrect logging. This change improves the accuracy of message logging in the `ChatComponent`.
* refactor: remove unused code and console.log statements
* raw: temp serializer fix
* streaming working but the message comes in one shot
* refactor: optimize message update in useMessagesStore
Improve the efficiency of updating messages in the `useMessagesStore` function of `messagesStore.ts`. Instead of iterating through the entire message list, this refactor searches for the message to update by iterating backwards from the end. This approach allows for faster message retrieval and update. The code has been modified to use a for loop and break out of the loop once the message is found. This change enhances the performance of the message update process.
* Refactor `serialize_flow_id` method to correctly handle UUID serialization in `message.py`
* Refactor `send_event` method to use `jsonable_encoder` for data serialization
* refactor: optimize message update in useMessagesStore
* streaming working with timeout
* refactor: update buildUtils.ts to use data instead of data.data in addMessage function
* version with reactState for chatHistory
* refactor: update on_message method in ChatComponent
* refactor: update on_message method in ChatComponent
* refactor: Remove unused dependency in package-lock.json
* Refactor chatView component and add hiddenSession prop
* Refactor chatView component and update hiddenSessions prop
* Refactor chatView component to use visibleSessions prop instead of hiddenSessions
* Refactor IOModal component to remove redundant code
* Refactor chatView component to include focusChat prop
* Refactor chatView component to include focusChat prop and trigger focus on chat when new session is set
* Refactor IOModal component to update visible sessions when new session is added
* feat: Add session parameter to buildFlowVertices function
* feat: Add someFlowTemplateFields function
Add the someFlowTemplateFields function to the reactflowUtils module. This function checks if any of the nodes in the provided array have template fields that pass a given validation function.
* feat: Add session parameter to buildFlowVertices function
* feat: Add session parameter to buildFlowVertices function
* update Session logic on ioModal
* Refactor ChatView component: Remove unused eraser button
The eraser button in the ChatView component was removed as it was not being used and served no purpose. This change improves code cleanliness and removes unnecessary code.
* Refactor Vertex class: Inject session_id if provided in inputs
* Refactor build_flow function: Set default session if inputs are empty
* Refactor InputValueRequest schema: Add session parameter
* Refactor IOModal component: Update session logic
* Refactor buildFlowVertices function: Update input handling
* Refactor MessagesStoreType in zustand/messages/index.ts: Remove unused columns property and setColumns method
* Refactor MessagesStoreType: Remove unused columns property and setColumns method
* Refactor SessionView component: Update columns extraction logic
* Refactor ChatView component: Remove unused variables
* Refactor useGetMessagesQuery: Remove unused setColumns method
* Refactor RenderIcons component: Set default value for filteredShortcut prop to prevent bug
* create edit message component for chat view
* Refactor useUpdateMessage: Add refetch option to trigger query refetch
* Refactor IOModal component: Remove unused variables and update useGetMessagesQuery
* Refactor ChatView component: Add session ID to message object
* update chat message to handle message edit
* update types
* fix: Update API call to send entire message object
* Refactor EditMessageField component: Add timeout to onBlur event
* Refactor EditMessageField component: Update layout of edit message field
* create migration
* add fields to data table
* feat: Add "edit" flag to message_dict in update_message API endpoint
* Refactor EditMessageField component: Improve onBlur event handling and add button click flag
* Refactor code to include "edit" flag in message types
* feat: Add EditMessageButton component for editing chat messages
* Refactor ChatMessage component: Add EditMessageButton and improve layout
* fix: Add refetch query for current flow messages not all flows
* Refactor ChatMessage component: Add ShadTooltip for EditMessageButton
* add info into edit message field
* fix: migrate
* fix running chat input directly from the flow
* [autofix.ci] apply automated fixes
* fix edit flag
* Refactor IOModal component to generate a unique session ID based on the current date and time
* [autofix.ci] apply automated fixes
* Refactor IOModal component to improve session management and interaction
* [autofix.ci] apply automated fixes
* Refactor sessionSelector component to improve session management and interaction
* chore: Refactor sessionSelector component to improve session management and interaction
* [autofix.ci] apply automated fixes
* create mutation to handle session rename
* refactor: Rename useUpdateSession to useUpdateSessionName for clarity
* [autofix.ci] apply automated fixes
* Refactor sessionSelector component for improved session management and interaction
* Refactor sessionSelector component to update visible session on session name change
* [autofix.ci] apply automated fixes
* add message related events back
* chore: Add console logs for debugging in buildFlowVertices function
* Refactor IOModal component to update tab trigger label from "Memories" to "Chat"
* improve edit name feature
* Refactor IOModal component button label to "New Chat"
* Refactor sessionSelector component to improve session management and interaction
* Refactor IOModal component to remove unused code and improve session management
* fix typing error
* fix run chat input on component level
* prevent toogle visibility on session menu
* fix bug on rename session while in table view mode
* chore: Update setSelectedView prop type in sessionSelector component
* add first test version not working yet
* fix bug for renaming and deleting session
* refactor: Update sessionSelector component to handle session changes
* improve test
* fix rename session multiple session bugs
* change visible session from array to string
* chore: Update editMessageField component to include margin-right for text span
* [autofix.ci] apply automated fixes
* Update down_revision in Alembic migration script
* Refactor IOModal component to simplify session visibility handling
* Fix comparison operator for filtering error messages in memory.py
* Refactor ChatInput to conditionally store and update messages
* Refactor JSON formatting for improved readability in starter projects
* Add type casting for message_text and import cast from typing module
* Refactor input handling to use direct dictionary access for 'session' and 'input_value' keys
* Allow `update_message` to accept `str` type for `message_id` parameter
* ⬆️ (pyproject.toml): upgrade duckduckgo-search dependency to version 6.3.1 for bug fixes or new features
🔧 (duckduckgo.spec.ts): refactor test to handle multiple possible outcomes when waiting for selectors and improve readability
* Refactor test file: generalBugs-shard-0.spec.ts
* Refactor test file: freeze.spec.ts
* Refactor test files: update element selectors and actions
* Refactor test file: chatInputOutput.spec.ts
* [autofix.ci] apply automated fixes
* Refactor chatMessage component to handle different types of children content on code modal
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* refactor: update dynamic parameter in ParameterRenderComponent to false
* refactor: update CodeAreaComponent to use CodeAreaModal for node toolbar
* feat: Add EmptyParameterComponent to render empty parameters
* refactor: Add types for parameter render component
Add typescript types for the parameter render component to improve code readability and maintainability.
* feat: Add EmptyParameterComponent to render empty parameters
* refactor: Update RefreshParameterComponent to use InputProps
Update the RefreshParameterComponent to use the InputProps interface for better code readability and maintainability.
* refactor: Update InputProps in parameterRenderComponent/types.ts
Update the InputProps interface in parameterRenderComponent/types.ts to remove the Partial<OptionalInputProps> and simplify the composition of input props. This improves code readability and maintainability.
* refactor: Update InputProps in parameterRenderComponent/types.ts
* refactor: Update parameterRenderComponent/types.ts to use handleOnNewValue instead of onChange
Update the parameterRenderComponent/types.ts file to import the handleOnNewValueType from "@/CustomNodes/hooks/use-handle-new-value" and replace the onChange function with handleOnNewValue in the BaseInputProps interface. This change improves code readability and maintainability.
* update folder structure
* refactor: Update TableModal to support disabled state
Update the TableModal component to include a disabled prop, allowing the modal to be disabled when necessary. This improves the flexibility and usability of the component.
* refactor: Update parameterRenderComponent/types.ts to include TableComponentType
Update the parameterRenderComponent/types.ts file to include the TableComponentType interface, which defines the structure for a table component. This change improves code organization and maintainability.
* refactor: Update parameterRenderComponent to use TableNodeComponent from the correct folder
* refactor: Update codeAreaComponent imports and props in parameterRenderComponent
Update the imports and props in the parameterRenderComponent file to reflect the changes made in the codeAreaComponent file. This refactor improves code organization and maintainability.
* refactor: Update parameterRenderComponent/types.ts to include CodeAreaComponentType
Update the parameterRenderComponent/types.ts file to include the CodeAreaComponentType interface, which defines the structure for a code area component. This change improves code organization and maintainability.
* refactor: Remove unused import of CodeAreaComponent in nodeToolbarComponent
Remove the unused import of CodeAreaComponent in the nodeToolbarComponent file to improve code cleanliness and maintainability.
* refactor: Remove unused import of CodeAreaComponent in nodeToolbarComponent
* refactor: Remove unused import of CodeAreaComponent in nodeToolbarComponent
* refactor: Remove unused import of CodeAreaComponent in codeAreaComponent/index.tsx
* refactor: Remove unused import of CodeAreaComponent in parameterRenderComponent/index.tsx
* refactor: Update floatComponent imports and props in parameterRenderComponent
Update the imports and props in the parameterRenderComponent file to reflect the changes made in the floatComponent file. This refactor improves code organization and maintainability.
* refactor: Update floatComponent imports and props in parameterRenderComponent
* update int component path
* update int component type
* update toogle location
* refactor: Update ToggleComponentType in components/index.ts
Remove the ToggleComponentType interface from the components/index.ts file. This change is part of a refactoring effort to remove unused code and improve code organization.
* refactor: Update ToggleComponentType in components/index.ts
Remove unused ToggleComponentType interface from components/index.ts
* refactor: Update ToggleShadComponent to handle new value changes
Refactor the ToggleShadComponent to handle new value changes by passing the updated value to the handleOnNewValue function. This improves the functionality and maintainability of the component.
* refactor: Move InputFileComponent to parameterRenderComponent/components folder
Move the InputFileComponent file from the src/frontend/src/components folder to the src/frontend/src/components/parameterRenderComponent/components folder. This change improves code organization and maintainability.
* refactor: Add FileComponentType interface to parameterRenderComponent/types.ts
Add the FileComponentType interface to the parameterRenderComponent/types.ts file. This interface defines the fileTypes property for the FileComponentType, allowing for better type checking and documentation. This change improves code organization and maintainability.
* refactor: Update InputFileComponent props in parameterRenderComponent
Update the props of the InputFileComponent in the parameterRenderComponent file to match the changes made in the index.tsx file. This refactor improves code organization and maintainability.
* refactor: Move PromptAreaComponent to parameterRenderComponent/components folder
* update types prompt field
* refactor: Update PromptAreaComponent to handle new value changes
Refactor the PromptAreaComponent to handle new value changes by passing the updated value to the handleOnNewValue function. This improves the functionality and maintainability of the component.
* refactor: Move LinkComponent to parameterRenderComponent/components folder
* refactor: Add LinkComponentType interface to parameterRenderComponent/types.ts
Add the LinkComponentType interface to the parameterRenderComponent/types.ts file. This interface defines the icon and text properties for the LinkComponentType, allowing for better type checking and documentation. This change improves code organization and maintainability.
* refactor: Update LinkComponent to use InputProps in parameterRenderComponent
Update the LinkComponent in parameterRenderComponent to use the InputProps interface for better type checking and consistency. This refactor improves code organization and maintainability.
* refactor: Move KeypairListComponent to parameterRenderComponent/components folder
* refactor: Add KeyPairListComponentType interface to parameterRenderComponent/types.ts
* refactor: Update KeypairListComponent to use InputProps in parameterRenderComponent
Refactor the KeypairListComponent in parameterRenderComponent to use the InputProps interface for better type checking and consistency. This refactor improves code organization and maintainability.
* refactor: Move DictComponent to parameterRenderComponent/components folder
* refactor: Update KeyPairListComponentType interface in parameterRenderComponent/types.ts
* refactor: Update KeypairListComponent to use InputProps in parameterRenderComponent
* refactor: Move InputListComponent to parameterRenderComponent/components folder
Move the InputListComponent to the parameterRenderComponent/components folder for better code organization and maintainability.
* refactor: Add StrRenderComponentType interface to parameterRenderComponent/types.ts
* refactor: Move InputListComponent to parameterRenderComponent/components folder
* refactor: Move InputListComponent to parameterRenderComponent/components folder
* refactor: Move InputListComponent to parameterRenderComponent/components folder
Move the InputListComponent to the parameterRenderComponent/components folder for better code organization and maintainability.
* refactor: Update InputListComponent to use InputProps in parameterRenderComponent
Refactor the InputListComponent in parameterRenderComponent to use the InputProps interface for better type checking and consistency. This refactor improves code organization and maintainability.
* refactor: Move IOFieldView to IOModal/components folder
Move the IOFieldView component to the IOModal/components folder for better code organization and maintainability.
* refactor: Move DropdownComponent to parameterRenderComponent/components folder
* refactor: Add DropDownComponentType interface to parameterRenderComponent/types.ts
* refactor: Update DropdownComponent import in StrRenderComponent
Update the import statement for DropdownComponent in StrRenderComponent to reflect its new location in the parameterRenderComponent/components folder. This refactor improves code organization and maintainability.
* refactor: Update StrRenderComponent to use baseInputProps
Refactor the StrRenderComponent in parameterRenderComponent to use the baseInputProps object instead of individual props for better code organization and maintainability.
* refactor: Update StrRenderComponent to use TextAreaComponent from correct location
Update the import statement for TextAreaComponent in StrRenderComponent to reflect its new location in the parameterRenderComponent/components folder. This refactor improves code organization and maintainability.
* remove unused imports
* refactor: Add TextAreaComponentType interface to parameterRenderComponent/types.ts
* refactor: Update TextAreaComponent to use handleOnNewValue instead of onChange
Refactor the TextAreaComponent in parameterRenderComponent to use the handleOnNewValue function instead of the onChange function for better code consistency. This change aligns with the recent updates to the component's props and improves maintainability.
* refactor: Update StrRenderComponent to use baseInputProps
Refactor the StrRenderComponent in parameterRenderComponent to use the baseInputProps object instead of individual props for better code organization and maintainability.
* refactor: Move inputGlobalComponent to parameterRenderComponent/components folder
Move the inputGlobalComponent to the parameterRenderComponent/components folder to improve code organization and maintainability.
* refactor: Move inputGlobalComponent to parameterRenderComponent/components folder
* refactor: Update InputGlobalComponent to use handleOnNewValue instead of onChange
Refactor the InputGlobalComponent in parameterRenderComponent to use the handleOnNewValue function instead of the onChange function for better code consistency. This change aligns with the recent updates to the component's props and improves maintainability.
* refactor: Update StrRenderComponent to use baseInputProps
Refactor the StrRenderComponent in parameterRenderComponent to use the baseInputProps object instead of individual props for better code organization and maintainability.
* refactor: Move multiselectComponent to parameterRenderComponent/components folder
Move the multiselectComponent to the parameterRenderComponent/components folder to improve code organization and maintainability.
* refactor: Move MultiselectComponent to parameterRenderComponent/components folder
Move the MultiselectComponent to the parameterRenderComponent/components folder to improve code organization and maintainability.
* refactor: Move MultiselectComponent to parameterRenderComponent/components folder
* refactor: Move MultiselectComponent to parameterRenderComponent/components folder
* refactor: Remove unused code in StrRenderComponent
* refactor: Remove unused code in StrRenderComponent
* refactor: Remove unused code in StrRenderComponent
* [autofix.ci] apply automated fixes
* ✨ (tableInputComponent.spec.ts): add ua-parser-js library to parse user agent information for better control handling based on OS
🔧 (tableInputComponent.spec.ts): update key press event to use the correct control key based on the user's operating system for textarea selection.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
* add-note
* notes
* vector-store-rag-notes
* vector-store-rag-notes
* comma
* comma
* revert
* add-notes
* another-way
* revert
* revert
* fix
* descriptions
* lightbulb
* deployed-size
* size
* size
* resizing-is-true
* targethandle
* double
* set-components
* pin
* notes
* fix
* dont-change-code
* cleanup
* update example
* fix postion on example
* fix-descriptions
* swap-link
* newline-and-lightbulb
* another-docs-link
* play-button
* remove-double
* update NODE_FORMAT_ATTRIBUTES to prevent description updates on examples
* Update AstraDB documentation link
* update documentation on code
* ✨ (chatInputOutputUser-shard-0.spec.ts): update the test to click on the last element with the text "Playground" to ensure correct element is clicked
* 🐛 (Basic Prompting.spec.ts): fix clicking on "Playground" element by selecting the last occurrence to ensure correct element is clicked
* ✨ (Blog Writer.spec.ts): update test to click on the last element with text "Playground" to ensure correct element is clicked on the page
* ✨ (Dynamic Agent.spec.ts): update test to click on the last element with text "Playground" to ensure correct element is clicked on the page
* 🐛 (decisionFlow.spec.ts): fix clicking on "Playground" button by selecting the last element with the text "Playground" to ensure correct element is clicked
* 🐛 (generalBugs-shard-3.spec.ts): fix clicking on "Playground" button by selecting the last occurrence to prevent ambiguity
* 🐛 (generalBugs-shard-0.spec.ts): fix clicking on "Playground" button by selecting the last element with the text "Playground" to ensure correct element is clicked
* 🐛 (general-bugs-shard-3836.spec.ts): fix clicking on "Playground" button by selecting the last element with the text "Playground" to ensure correct element is clicked
* ✨ (chatInputOutputUser-shard-2.spec.ts): update test to click on the last element with text "Playground" to ensure correct interaction with chat input/output feature
* ✨ (stop-button-playground.spec.ts): update test to click on the last occurrence of the text "Playground" to ensure correct element is clicked
* 🐛 (limit-file-size-upload.spec.ts): fix selector to click on the last element with text "Playground" instead of the first one
* ✨ (fileUploadComponent.spec.ts): update test to click on the last element with text "Playground" to ensure correct element is clicked on the page
* ✨ (chatInputOutput.spec.ts): update test to click on the last occurrence of the "Playground" text to ensure correct element is clicked
* 🐛 (generalBugs-shard-9.spec.ts): fix clicking on "Playground" element by selecting the last occurrence to prevent flakiness in tests
* 🐛 (Document QA.spec.ts): fix clicking on "Playground" element by selecting the last occurrence to ensure correct element is clicked
* ✨ (similarity.spec.ts): update click method to target the last occurrence of "Playground" text to ensure correct element is clicked
* 🐛 (Simple Agent.spec.ts): fix clicking on "Playground" button by selecting the last element with the text to avoid ambiguity
* ✨ (textInputOutput.spec.ts): update test script to target the last occurrence of the "Playground" text element to ensure correct interaction with the UI.
* ✨ (Travel Planning Agent.spec.ts): Update the selector for the "Playground" text to ensure the correct element is clicked on the page.
* 🐛 (Vector Store.spec.ts): fix clicking on "Playground" element by selecting the last one to avoid ambiguity
* ✨ (generalBugs-shard-9.spec.ts): add click action on the last element with test id "title-Prompt" to improve test coverage and interaction with the page
---------
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
* 🔧 (pyproject.toml): add duckduckgo-search dependency to the project
✨ (DuckDuckGoSearchRun.py): introduce DuckDuckGoSearchComponent for performing web searches using DuckDuckGo search engine
✨ (DuckDuckGo.jsx): add SVG icon for DuckDuckGo
✨ (index.tsx): create DuckDuckGoIcon component for displaying DuckDuckGo icon
🔧 (styleUtils.ts): import DuckDuckGoIcon for nodeIconsLucide in styleUtils
* 📝 (DuckDuckGoSearchRun.py): remove unnecessary whitespace to improve code readability and consistency
* ✨ (DuckDuckGoSearchRun.py): Add retry logic to DuckDuckGo search component for rate-limited requests
📝 (DuckDuckGoSearchRun.py): Update component description to reflect the addition of retry logic
📝 (DuckDuckGoSearchRun.py): Add new inputs for max_retries and initial_delay to configure retry behavior
📝 (DuckDuckGoSearchRun.py): Update search_response method to use search_with_retry method with retry logic
📝 (DuckDuckGoSearchRun.py): Update format_results method to handle formatted results
📝 (DuckDuckGoSearchRun.py): Add search_with_retry method to handle search with retry logic
📝 (DuckDuckGoSearchRun.py): Update search_response method to use search_with_retry method
📝 (DuckDuckGoSearchRun.py): Update search_response method to set status messages
📝 (DuckDuckGoSearchRun.py): Handle exceptions and set appropriate status messages in search_response method
✨ (duckduckgo.spec.ts): Add integration test for DuckDuckGo search component in frontend
* 📝 (DuckDuckGoSearchRun.py): add newline at the end of the file to follow best practices and avoid potential issues with some tools that expect it
* [autofix.ci] apply automated fixes
* updating duckudckgo
* [autofix.ci] apply automated fixes
* ✨ (DuckDuckGoSearchRun.py): Refactor DuckDuckGoSearchComponent to use pydantic BaseModel for schema definition and improve code structure for better readability and maintainability. Add support for result limiting in search functionality.
* 🔧 (DuckDuckGoSearchRun.py): Remove unnecessary import and update status message for DuckDuckGo Search Tool to improve clarity
* [autofix.ci] apply automated fixes
* ✨ (duckduckgo.spec.ts): update test selectors for duckduckgo search component to match changes in the frontend code and improve test reliability
* 🐛 (linkComponent.spec.ts): fix an issue where the key combination for selecting all text was not working correctly on Mac devices. Updated the key combination to use the correct modifier key based on the user's operating system.
* 📝 (frontend): mark is-unicode-supported package as extraneous in package-lock.json
* rollback lock file
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* ✨ (inputs/__init__.py): Add LinkInput class to support linking functionality in inputs
📝 (inputs/input_mixin.py): Add Link field type to support linking functionality in inputs
📝 (inputs/inputs.py): Add LinkInput class to support linking functionality in inputs
📝 (io/__init__.py): Import and export LinkInput class for linking functionality in inputs
📝 (frontend/src/components/linkComponent/index.tsx): Create LinkComponent to display and handle links in frontend components
📝 (frontend/src/components/parameterRenderComponent/index.tsx): Add support for rendering LinkComponent in parameter rendering based on template type
📝 (frontend/src/constants/constants.ts): Add "link" as a supported type for LANGFLOW_SUPPORTED_TYPES
📝 (frontend/src/types/api/index.ts): Add icon and text fields to InputFieldType for link component
📝 (frontend/src/types/components/index.ts): Define LinkComponentType for passing link data to LinkComponent
✨ (linkComponent.spec.ts): Add unit test for link component interaction to ensure proper functionality and behavior
📝 (unit-test-components.spec.ts): Add template for a unit test file to be used for testing components in the frontend application
* style: apply make format
* Update input_mixin.py
---------
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.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