This PR addresses an issue where Ctrl + C was not working correctly
within tooltips. This fix ensures that users can copy text from tooltips
using the Ctrl + C shortcut without any issues.
This PR addresses an issue with the endpoint that was failing to delete
messages from the database. The necessary corrections have been made to
ensure that messages are now properly removed when the endpoint is
called.
✅ (tests): add end-to-end tests for basic prompting and general bugs
✅ (tests): add end-to-end test for deleting rows from table message
🔧 (tsconfig.json): update test file name for generalBugs to shard-0 spec
- Changed base class from CustomComponent to Component
- Added multiple input fields: message, sender, sender_name, session_id
- Included output field for stored messages
- Improved logic to handle both string and Message types
- Enhanced error handling and validation for message storage
This commit adds a new component called CreateListComponent, which is responsible for creating a list of texts. The component takes in one or more texts as input and outputs a list of Data objects. This component is useful for scenarios where a list of texts needs to be processed or manipulated.
The CreateListComponent class is added to the helpers module in the langflow.components package. It includes the necessary inputs and outputs, as well as a create_list method that generates the list of Data objects based on the input texts.
This commit also includes some minor changes to other files, such as renaming the UUIDGeneratorComponent to IDGeneratorComponent and updating import statements.
#### Overview
This pull request introduces several improvements and changes aimed at
enhancing the test structure and codebase maintainability. The key
changes include breaking tests into smaller files to distribute across
more shards, replacing XPath locators with test ID locators, and
performing a general code refactor.
#### Changes
- Break Tests into Smaller Files:
Tests have been split into multiple files to better fit across more
shards. This change aims to improve test execution efficiency and
parallelization.
- Replace XPath Locators with Test ID Locators:
All locators previously using XPath have been updated to use data-testid
attributes. This change improves the reliability and readability of the
locators.
- General Code Refactor:
The codebase has undergone a general refactor to improve maintainability
and readability. This includes:
Renaming variables for better clarity.
Extracting reusable functions and components.
Improving code comments and documentation.