Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add message table and update message functionality #2290

Merged
merged 25 commits into from
Jun 26, 2024

Conversation

ogabrielluiz
Copy link
Contributor

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.

Copy link

vercel bot commented Jun 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langflow ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 10:39pm

Copy link

render bot commented Jun 24, 2024

@ogabrielluiz ogabrielluiz marked this pull request as ready for review June 25, 2024 11:54
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Jun 25, 2024
@italojohnny italojohnny self-assigned this Jun 25, 2024
Copy link
Collaborator

@italojohnny italojohnny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

vercel bot commented Jun 25, 2024

Deployment failed with the following error:

Resource is limited - try again in 4 minutes (more than 100, code: "api-deployments-free-per-day").

Copy link

vercel bot commented Jun 25, 2024

Deployment failed with the following error:

Resource is limited - try again in 2 minutes (more than 100, code: "api-deployments-free-per-day").

Copy link

vercel bot commented Jun 25, 2024

Deployment failed with the following error:

Resource is limited - try again in 40 seconds (more than 100, code: "api-deployments-free-per-day").

@ogabrielluiz ogabrielluiz added this pull request to the merge queue Jun 25, 2024
ogabrielluiz and others added 16 commits June 25, 2024 20:22
…t statement for better performance and readability

📝 (memory.py): Refactor delete_messages function to use SQLAlchemy delete statement for better performance and readability
📝 (monitor/schema.py): Update MessageModel to use UUID type for id and flow_id for consistency and better data handling
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Jun 26, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to Branch Protection failures Jun 26, 2024
You're not authorized to push to this branch. Visit "About protected branches" for more information.
@italojohnny italojohnny self-requested a review June 26, 2024 01:56
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Jun 26, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to Branch Protection failures Jun 26, 2024
You're not authorized to push to this branch. Visit "About protected branches" for more information.
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Jun 26, 2024
Merged via the queue into dev with commit f74365e Jun 26, 2024
12 of 13 checks passed
@ogabrielluiz ogabrielluiz deleted the migrate_monitor_to_db branch June 26, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants