This commit adds the `serialize_flow_id` method to the `Message` class in the `message.py` file. This method serializes the `flow_id` attribute of a `Message` object, converting it to a UUID if it is a string. This ensures consistent serialization of the `flow_id` attribute when working with the `Message` class.
This commit migrates messages from the monitor service to the database. It adds a new function `migrate_messages_from_monitor_service_to_database` in the `utils.py` file, which retrieves messages from the monitor service, adds them to the database, and deletes them from the monitor service. This migration ensures that messages are stored in the database for better reliability and retrieval.
This commit imports the firecrawl integration package in the FirecrawlCrawlApi and FirecrawlScrapeApi files. It ensures that the package is available for use in the code. If the package is not installed, an ImportError is raised with instructions to install it using `pip install firecrawl-py`.
This pull request fixes the validation and save button behavior in the
flow settings modal. Previously, the save button was not disabled when
it should have been, and the endpoint name validation was not working
correctly. This PR updates the validation logic and ensures that the
save button is disabled when necessary.
✅ (store.spec.ts): update test selector to use new data-testid attribute
♻️ (textInputOutput.spec.ts): refactor element selection and interaction logic for clarity and maintainability
The auto-update workflow has been added to the repository. This workflow
will automatically trigger on pushes to the `dev` and `main` branches.
It runs on the latest version of Ubuntu and uses the
`tibdex/auto-update@v2` action to perform the auto-update process.
💡 (textAreaWrapper): add data-testid attribute for better test targeting
✅ (actionsMainPage.spec.ts): add waitForSelector for better test stability
✅ (basicExamples.spec.ts): replace waitForTimeout with waitForSelector
✅ (basicExamples.spec.ts): use data-testid for chat input for consistency
✅ (memoryChatbot.spec.ts): replace waitForTimeout with waitForSelector
✅ (memoryChatbot.spec.ts): use data-testid for chat input for consistency
✅ (documentQA.spec.ts): replace waitForTimeout with waitForSelector
✅ (documentQA.spec.ts): use data-testid for chat input for consistency
✅ (vectorStoreRAG.spec.ts): replace waitForTimeout with waitForSelector
✅ (vectorStoreRAG.spec.ts): use data-testid for chat input for consistency
✅ (tests): add waitForSelector to ensure elements are loaded before interaction
✅ (tests): add waitForSelector for 'fit view' button in end-to-end tests
- 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 pull request renames the Kubernetes deployment file to have a .md
extension instead of the previous extension. This change is made to
improve the readability and clarity of the file. No other changes are
made in this pull request.
The auto-update workflow has been added to the repository. This workflow will automatically trigger on pushes to the `dev` and `main` branches. It runs on the latest version of Ubuntu and uses the `tibdex/auto-update@v2` action to perform the auto-update process.
This pull request fixes a condition in the `stop` method. Previously,
the method would raise a `ValueError` if `output_name` was not provided,
even if it was set to `None`. This pull request updates the condition to
only raise the `ValueError` if `output_name` is not provided and is not
set to `None`. This allows for more flexibility when calling the `stop`
method.
This pull request includes the following changes:
- Added a new table called "message" to the database, allowing for
storing and retrieving messages in the application.
- Refactored the add_messages function to use a database session for
adding messages to the monitor service, improving reliability.
✅ (basicExamples.spec.ts): add waitForSelector for 'fit view' to ensure element is loaded
✅ (basicExamples.spec.ts): add waitForSelector for 'built successfully' to ensure element is loaded
✅ (chatInputOutput.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (codeAreaModalComponent.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (dropdownComponent.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (fileUploadComponent.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (filterEdge.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (filterEdge.spec.ts): update test expectations for 'disclosure-agents' to be visible
✅ (floatComponent.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (flowPage.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (folders.spec.ts): add waitForSelector for 'icon-ChevronLeft' to ensure element is loaded
✅ (folders.spec.ts): update folder name input and visibility check to improve reliability
✅ (generalBugs.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (tests): replace waitForTimeout with waitForSelector in end-to-end tests
Replace `waitForTimeout` with `waitForSelector` to improve test reliability and reduce flakiness.