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: upgraded agent tool mode switch ux, fixed icon color on main page, fixed pagination ui on main page #4501

Merged
merged 21 commits into from
Nov 12, 2024

Conversation

lucaseduoli
Copy link
Collaborator

This pull request includes several formatting changes and updates to the AgentComponent class and related components. The most significant changes involve reformatting long strings and lists for better readability, updating descriptions, and changing the beta status of the AgentComponent.

Formatting Improvements:

  • Reformatted import statements in src/backend/base/langflow/components/agents/agent.py for better readability.
  • Reformatted long strings and lists to be more readable in AgentComponent and ToolCallingAgentComponent classes. [1] [2] [3] [4] [5] [6] [7] [8]

Description Updates:

  • Updated the description of the AgentComponent to be more concise.
  • Updated the description of the ToolCallingAgentComponent to be more concise.

Beta Status Change:

  • Changed the beta status of the AgentComponent from True to False. [1] [2] [3]

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Nov 11, 2024
Copy link
Collaborator

@Cristhianzl Cristhianzl 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 Nov 11, 2024
@Cristhianzl Cristhianzl enabled auto-merge (squash) November 11, 2024 19:21
Copy link

codspeed-hq bot commented Nov 11, 2024

CodSpeed Performance Report

Merging #4501 will degrade performances by 30.99%

Comparing fix/agent_component (ea6b6ee) with main (2ddd773)

Summary

❌ 3 regressions
✅ 12 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main fix/agent_component Change
test_successful_run_with_input_type_text 367.4 ms 532.3 ms -30.99%
test_successful_run_with_output_type_any 455.4 ms 531.2 ms -14.27%
test_successful_run_with_output_type_debug 453.8 ms 531.3 ms -14.59%

@ogabrielluiz
Copy link
Contributor

@lucaseduoli the changes to the Agent component will be overwritten by #4495

@anovazzi1 anovazzi1 enabled auto-merge (squash) November 12, 2024 15:27
@anovazzi1 anovazzi1 marked this pull request as draft November 12, 2024 15:32
@lucaseduoli lucaseduoli marked this pull request as ready for review November 12, 2024 16:13
@lucaseduoli lucaseduoli enabled auto-merge (squash) November 12, 2024 16:18
@lucaseduoli lucaseduoli enabled auto-merge (squash) November 12, 2024 16:19
@lucaseduoli lucaseduoli merged commit ab71e2f into main Nov 12, 2024
32 checks passed
@lucaseduoli lucaseduoli deleted the fix/agent_component branch November 12, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants