🔨 refactor(chatMessage): replace the usage of DOMPurify with SanitizedHTMLWrapper component in chatMessage component
🔨 refactor(formModal): replace the usage of DOMPurify with SanitizedHTMLWrapper component in formModal component
🔨 refactor(genericModal): replace the usage of DOMPurify with SanitizedHTMLWrapper component in genericModal component
The code for building the root node in the graph has been removed as it is no longer necessary. Previously, the root node was built separately due to certain nodes requiring parameters that were not connected to it. However, this approach has been reconsidered and the tools are now connected to the ZeroShotPrompt, eliminating the need for separate building of the root node.
✨ feat(modals/EditNodeModal): add ability to set nodeClass in EditNodeModal component
🐛 fix(modals/genericModal): handle optional chaining for error response data in GenericModal component
🔥 chore(modals/promptModal): remove unused import and checkPrompt function in PromptAreaModal component
This commit updates the styles for the chat thought and initial prompt components in the frontend. The changes include modifying the border color to use a custom ring color, adjusting the padding and margin, and updating the text size and color. Additionally, the label for the "Initial Prompt" button has been changed to "Display Prompt" for clarity.
refactor(parameterComponent): remove unused useEffect dependency in ParameterComponent
refactor(inputComponent): reformat classNames in InputComponent for better readability
refactor(EditNodeModal): remove unused imports in EditNodeModal
refactor(EditNodeModal): reformat disabled variable assignment in EditNodeModal for better readability
refactor(EditNodeModal): remove unnecessary empty lines in EditNodeModal
refactor(EditNodeModal): reformat handleOnNewValue function call in EditNodeModal for better readability
refactor(chatMessage): remove unnecessary empty line in ChatMessage component
refactor(chatMessage): remove unnecessary inline-block class in ChatMessage component
The padding issue in the password input field was causing the text to be clipped. The issue was resolved by adjusting the padding classes based on the editNode and password conditions.
✨ feat(EditNodeModal): add support for handling tab state and saving changes in EditNodeModal
🐛 fix(EditNodeModal): fix disabled condition in EditNodeModal
🐛 fix(EditNodeModal): remove unused useEffect in EditNodeModal
✨ feat(EditNodeModal): add handleOnNewValue function to handle changes in EditNodeModal
🐛 fix(utils.py): fix import of wrapper_creator from langflow.interface.wrappers.base
🔧 chore(loading.py): add support for instantiating wrappers based on node type
🔧 chore(base.py): add support for creating SQLDatabase wrapper from URI
The config.yaml file was modified to add documentation for the SQLDatabase wrapper. In utils.py, the import of wrapper_creator from langflow.interface.wrappers.base was fixed. In loading.py, support was added for instantiating wrappers based on the node type. In base.py, support was added for creating the SQLDatabase wrapper from a URI. These changes were made to improve the functionality and maintainability of the codebase.
The empty line after the `export default function InputFileComponent({` declaration has been removed as it was not serving any purpose and was unnecessary.
The assertions for the template variables in the `test_zero_shot_agent` function have been updated to reflect the changes in the template structure. This ensures that the tests accurately check the expected values of the template variables.
🔬 test(test_graph.py): remove test cases for building specific vertex types
The commit removes unused imports and test cases related to specific vertex types that are no longer used in the codebase. This improves code cleanliness and reduces clutter. The removed test cases were for building specific vertex types, which are no longer necessary as the build method is now tested in a more general way.
🔧 fix(test_endpoints.py): update test_get_all to assert "PromptTemplate" instead of "ZeroShotPrompt"
🔧 fix(test_endpoints.py): update test_valid_prompt and test_invalid_prompt to use PROMPT_REQUEST variable
🔧 fix(test_endpoints.py): update test_various_prompts to use PROMPT_REQUEST variable
🔧 fix(test_prompts_template.py): remove test_zero_shot_prompt as it is no longer needed
The import statement for TimeTravelGuideChainNode is fixed to ensure the correct module is imported. The test_get_all function is updated to assert the presence of "PromptTemplate" instead of "ZeroShotPrompt" in the response. The test_valid_prompt, test_invalid_prompt, and test_various_prompts functions are updated to use the PROMPT_REQUEST variable for the request payload. The test_zero_shot_prompt function is removed as it is no longer needed.
✨ feat(memories.py): add MongoDBChatMessageHistoryFrontendNode class to support MongoDB as a memory store
The CUSTOM_NODES dictionary in customs.py has been updated to include the "MongoDBChatMessageHistory" memory. This allows the application to use MongoDB as a memory store for chat message history. The MongoDBChatMessageHistoryFrontendNode class has been added to memories.py, providing the necessary functionality and configuration options for interacting with MongoDB as a memory store.
🔧 chore(ShadTooltipComponent): remove unused import and set default value for delayDuration prop
🔧 chore(ApiModal): optimize imports and remove unused imports
🔧 chore(genericModal): optimize imports and remove unused imports
The changes were made to optimize the imports and remove duplicate and unused imports in the respective files. This improves the codebase by reducing unnecessary dependencies and improving maintainability.
🐛 fix(inputFileComponent): fix class order in className to ensure correct styling when editNode is true
🐛 fix(genericModal): remove unnecessary conditional rendering of '-' in Input Variables label
The order of sections in the config.yaml file has been adjusted for better readability and organization. The "prompts" section has been moved to the top, followed by the "memories" section, and then the "textsplitters" section. This change improves the structure and consistency of the config file.