The LogType in the schema module has been updated to include the ErrorLogType. This allows for more detailed logging of error messages, including the error message itself and the stack trace. This change improves the accuracy and usefulness of error logging in the application.
The Component class in the custom_component module has been updated to support dynamic attributes. This allows users to access attributes that are not explicitly defined in the class. The __getattr__ method has been implemented to handle attribute retrieval. This change improves flexibility and extensibility of the Component class.
To prevent potential errors, this refactor ensures that the `data_input` attribute in the `RecursiveCharacterTextSplitterComponent` class is always a list. If it is not already a list, it is converted to a list before processing. This change improves the reliability and consistency of the code.
Remove unused imports and update components in the documentation files to improve code clarity and ensure consistency. This refactor optimizes the codebase and enhances the overall quality of the documentation.
Apply Prettier formatting to the codebase by running the Prettier command in the src/frontend directory. Also, add a step to commit the changes automatically using the git-auto-commit-action. This update improves code formatting and ensures consistency in the repository.
This commit updates the URLComponent and ParseDataComponent classes in the URL.py and ParseData.py files respectively.
In URLComponent, the 'value' attribute in the 'urls' input has been removed, improving code clarity.
In ParseDataComponent, the 'value' attribute in the 'sep' input has been changed from '---' to '\n', enhancing the functionality of the component.
These changes optimize the code logic and ensure consistency in the codebase.
This commit updates the TextOutputComponent class in the TextOutput.py file to set the status attribute with the input value. This change improves the code logic and ensures that the status is properly assigned.