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

fix: add minimized attribute to components and make chatinput and chatoutput start minimized by default #5374

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

lucaseduoli
Copy link
Collaborator

This pull request includes several changes to improve the formatting and functionality of chat components in the langflow backend. The most important changes include the addition of the minimized attribute to both ChatInput and ChatOutput classes, and the reformatting of code for better readability.

Chat component enhancements:

Attribute validation:

Starter project updates:

@lucaseduoli lucaseduoli self-assigned this Dec 19, 2024
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 19, 2024
@dosubot dosubot bot added the enhancement New feature or request label Dec 19, 2024
@github-actions github-actions bot added bug Something isn't working and removed enhancement New feature or request labels Dec 19, 2024
@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Dec 19, 2024
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Dec 19, 2024
@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Dec 19, 2024
@github-actions github-actions bot added bug Something isn't working and removed bug Something isn't working labels Dec 19, 2024
Copy link

codspeed-hq bot commented Dec 19, 2024

CodSpeed Performance Report

Merging #5374 will improve performances by 58.12%

Comparing fix/chat_input_output_minimized (bf2c9d3) with main (9a8f721)

Summary

⚡ 1 improvements
✅ 14 untouched benchmarks

Benchmarks breakdown

Benchmark main fix/chat_input_output_minimized Change
test_get_and_cache_all_types_dict 1.6 ms 1 ms +58.12%

Copy link
Contributor

@ogabrielluiz ogabrielluiz left a comment

Choose a reason for hiding this comment

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

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants