forked from langflow-ai/langflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: drop duckdb usage and migrations (langflow-ai#3730)
* chore: drop duckdb usage and migrations * [autofix.ci] apply automated fixes * Add DefaultModel and MessageResponse classes with custom JSON serialization and validation - Introduced `DefaultModel` class with custom JSON encoders and serialization methods. - Added `MessageResponse` class inheriting from `DefaultModel` with fields for message details and custom validators/serializers. - Enhanced file handling and timestamp formatting in `MessageResponse`. * Refactor: Replace `MessageModelResponse` with `MessageResponse` in monitor API - Updated import statements to use `MessageResponse` from `langflow.schema.message`. - Modified `/messages` endpoint to return `list[MessageResponse]` instead of `list[MessageModelResponse]`. - Adjusted response model validation to use `MessageResponse`. --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]>
- Loading branch information
1 parent
f751ae9
commit 0714240
Showing
17 changed files
with
77 additions
and
751 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.