* feat: Add LanguageModel to field_typing module
* chore: Fix type annotations in model build methods
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Refactor the `ensure_valid_key` function in `utils.py` to improve the generation of a valid key for authentication. The function now checks if the input key is too short and generates a random key if necessary. Additionally, the key is now URL-safe base64-encoded. This change enhances the security and reliability of the authentication process.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🐛 (messagesPage): fix selection mapping to use row.id instead of row
index
✅ (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
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.