Commit graph

16,046 commits

Author SHA1 Message Date
Lucas Oliveira
4cbce28d26
fix: refactor mcp and freeze tests to be less prone to flaky results (#8486)
* Fixed mcp test to be less prone to errors

* Fix freeze spec
2025-06-11 15:02:46 +00:00
Cristhian Zanforlin Lousa
654154ebbe
refactor(docker): remove --extra deploy flag from uv sync commands (#8485)
🔧 (build_and_push_with_extras.Dockerfile): remove unnecessary uv sync command options to improve build efficiency and reduce redundancy

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-06-11 14:39:53 +00:00
Lucas Oliveira
fcd6a5c059
fix: made clean edges clean after changing dropdown of output (#8460)
fixed output considering all outputs not just selected one
2025-06-11 14:38:25 +00:00
Lucas Oliveira
8fd8be52aa
fix: make starter projects auto refactor not remove selected output (#8400)
* Fixed bug where starter projects were refactored incorrectly

* fix: improve handling of selected outputs in custom component template builder

- Added checks to ensure selected output is valid before attempting to set its state.
- Enhanced code readability with comments explaining the logic for selecting outputs.

* Set selected output as the previous selected output

* Update base.py

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-06-11 14:10:22 +00:00
Eric Hare
fa18841788
fix: Remove the dataframe output from structured (#8233)
* fix: Remove the dataframe output from structured

* Remove unneeded import

* Update the description field

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* Update structured_output.py

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and performance

* Update Financial Report Parser.json

* Fix templates

* [autofix.ci] apply automated fixes

* Update Pokédex Agent.json

* [autofix.ci] apply automated fixes

* temp test fix

* test fixes

* [autofix.ci] apply automated fixes

* add shards

*  (freeze-path.spec.ts): add functionality to add a flow to test on an empty langflow if the condition is met

* file path fix

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-06-10 22:03:54 +00:00
Cristhian Zanforlin Lousa
7be8161049
refactor(ui): remove Tool Mode option from node toolbar (#8432)
♻️ (nodeToolbarComponent/index.tsx): Remove redundant code related to the Tool Mode feature to simplify the component and improve maintainability.
2025-06-10 20:23:56 +00:00
Deon Sanchez
0acfd8e5e9
refactor: api access bug for duplicate payload values. (#8377)
* feat: add formatPayloadTweaks utility and integrate into API code generation

* feat: integrate formatPayloadTweaks utility for centralized payload processing in API code generation

* refactor: clean up formatPayloadTweaks import and improve curl command formatting

* refactor: remove commented code and streamline payload processing in APITabsComponent

* fix: uncomment TextInput in INPUT_TYPES constant

* fix: uncomment TextInput in INPUT_TYPES and update filter-tweaks to include it
2025-06-10 20:04:57 +00:00
Mike Fortman
a412fce939
fix: fix file toggle in the playground chat (#8435)
* add file toggle to playground chat

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-10 19:52:44 +00:00
Deon Sanchez
2e0c87023e
feat: enhance OutputComponent dropdown functionality and styling (#8458)
* refactor: update OutputComponent styles and enhance dropdown functionality

* Adjusted text size in OutputComponent for better readability.
* Improved dropdown button styling and added hover effects.
* Enhanced dropdown content layout to display output types alongside names.
* Added console log for outputs to assist in debugging.

* refactor: remove console log from OutputComponent for cleaner code

* refactor: streamline GenericNode component and enhance NodeOutputs functionality

* Removed conditional rendering for hidden outputs in GenericNode for cleaner code.
* Introduced hasExistingHiddenOutputs prop to NodeOutputs for better state management.
* Updated OutputComponent styles for improved visual consistency and output type display.

* style: update OutputComponent padding for improved layout

* Added padding to the OutputComponent for better spacing and visual consistency.
2025-06-10 19:33:22 +00:00
Eric Hare
e5e54ea606
fix: Split text should only have dataframe output (#8362)
* fix: Split text should only have dataframe output

* [autofix.ci] apply automated fixes

* Update templates

* test fix

* Update Vector Store RAG.json

* Update starter projects

* fix tests

* add shards

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-06-10 19:21:15 +00:00
Gabriel Luiz Freitas Almeida
79c37c8f50
fix: update import statement in astradb_cql.py to silence warning (#8457)
fix: update import statement for pydantic in astradb_cql.py
2025-06-10 18:09:56 +00:00
Mendon Kissling
c0c3057812
docs: remove unnecessary tab from v2 loader example (#8428)
docs: remove unnecessary tab structure from API examples
2025-06-10 17:57:24 +00:00
Gabriel Luiz Freitas Almeida
35bb2a84ef
fix: Remove Docker duplicated build step from release workflow (#8366) 2025-06-10 12:33:58 -03:00
Lucas Oliveira
213bb6da95
fix: update query input import in test code (#8456) 2025-06-10 11:34:35 -03:00
Edwin Jose
40b48ee5e9
fix: remove duplicated import statement in nvidia_ingest (#8439)
* Update nvidia_ingest.py

* prefer full path'

---------

Co-authored-by: Jordan Frazier <jordan.frazier@datastax.com>
2025-06-09 17:52:46 +00:00
Jordan Frazier
f2e3f2ccc5
ref: standardize imports to use full qualified names (#7575)
* Remove models from __init__.py to avoid circular dependency

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* add back init to avoid backwards-compat issues

* [autofix.ci] apply automated fixes

* ref: standardize imports to use full qualified names

Replaces uses of the "public" APIs to use full qualified
names to reduce instances of circular dependencies

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* Fix path

* update starters"
"

* remove old files'

* [autofix.ci] apply automated fixes

* Fix some imports

* [autofix.ci] apply automated fixes

* ruff

* [autofix.ci] apply automated fixes

* starter projects?

* starter projects?

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-09 15:20:34 +00:00
Yuqi Tang
232d130863
feat: change smart function title, icon and desc (#8405)
* change title and desc

* revert back
2025-06-09 14:43:02 +00:00
Mahesh Rajamani
8a6ad9d232
feat: NV-ingest high resolution extraction and infographics content extraction (#8315)
* Added support for high resolution and extracting infographics content

* [autofix.ci] apply automated fixes

* Added validation for high resolution. Made image filter option value as false by default.

* [autofix.ci] apply automated fixes

* Fixed as per linters suggestion

* [autofix.ci] apply automated fixes

* Updated the file based on review for improved description

* Update src/backend/base/langflow/components/nvidia/nvidia_ingest.py

Accepted code change suggestion

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Addressed suggestion from coderabbitai

* [autofix.ci] apply automated fixes

* Addressed suggestion from Ruff

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Jordan Frazier <122494242+jordanrfrazier@users.noreply.github.com>
2025-06-09 14:34:46 +00:00
Cristhian Zanforlin Lousa
ed809d77e5
test: enhance node connection tests in chatMemory component (nightly fix) (#8431) 2025-06-09 10:19:44 -03:00
Yuqi Tang
e23e543b60
feat: combine chat history and chat store into a CRUD component (#8323)
* combine history and store

* combine history and store

* [autofix.ci] apply automated fixes

* Update memory.py

* [autofix.ci] apply automated fixes

* update json

* Update memory.py

* Update memory.py

* [autofix.ci] apply automated fixes

* change order

* change order

* put retrieve first

* add json

* [autofix.ci] apply automated fixes

* Update memory.py

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* update test

* fix test

* update tests

* update memory_chatbot

* change number back

* fix py test

* update

* update pokedex

* update flow

* [autofix.ci] apply automated fixes

* update type converter

* format

* fix name

* update meeting summary

* [autofix.ci] apply automated fixes

* fix test memory chatbot

* update method

* update method

* fix sort

* fix test graph state

* fix test

* fix locator

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
2025-06-05 22:19:01 +00:00
Mendon Kissling
a161753a57
Docs: rename and redirect system assist component to g-assist component (#8317)
* add-redirect

* sidebars-and-filename

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-06-05 17:23:44 +00:00
Mendon Kissling
22330abf9c
docs: new logos (#8357)
* add-new-svgs

* refactor: update logo SVGs in Docusaurus config
2025-06-05 15:46:03 +00:00
Chris Mauck
087a22c246
feat: Add Cleanlab's AI Reliability Bundle to Langflow (#8049)
* Add Cleanlab bundle

* Fix icon logic and add support for light/dark mode dynamic logo

* Remove stuff

* Modify components and add documentation

* [autofix.ci] apply automated fixes

* Add sidebar code

* [autofix.ci] apply automated fixes

* Update docs/sidebars.js

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* Update docs/docs/Integrations/Cleanlab/integrations-cleanlab.md

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* Update docs/docs/Integrations/Cleanlab/integrations-cleanlab.md

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* Update docs/docs/Integrations/Cleanlab/integrations-cleanlab.md

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>

* copy edits

* update samples

* style check fixes

* [autofix.ci] apply automated fixes

* style check fix 2

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-06-04 22:56:08 +00:00
Mendon Kissling
06f7279977
docs: update details summary css for better arrow alignment (#8376)
* align-details-summary-appearance

* accessibility-suggestion
2025-06-04 19:09:06 +00:00
Mendon Kissling
43b65b59ce
docs: contributing page links (#8316)
* add-contributing-links

* style

* correct-url

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>

* link-names

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-06-04 17:57:42 +00:00
Ítalo Johnny
227a091211
fix: apikey lock issue and add option to disable tracking (#8361)
* fix(api-key): avoid row-level locks by disabling usage tracking

* [autofix.ci] apply automated fixes

* chore: move parameter handling to settings service

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-04 17:05:55 +00:00
Mendon Kissling
5abb545c4d
docs: add typescript client (#8195)
* install

* run-flow-complete

* unneeded-const

* extend-starter-example

* cleanup

* more-cleanup

* response-tabs

* Apply suggestions from code review

Co-authored-by: Phil Nash <philnash@gmail.com>

* cleanup

* update-logging-example

* remove-line-and-reduce-padding

* remove-tab

* logging-example-updated-for-0.3.0

* clarify-quickstart

* Update docs/docs/Develop/Clients/typescript-client.md

* style-review

* spelling

* link-clarity

---------

Co-authored-by: Phil Nash <philnash@gmail.com>
2025-06-04 13:33:56 +00:00
Gabriel Luiz Freitas Almeida
8925c86853
fix: Add os.stat to blocklist for _load_revisions in alembic script (#8365) 2025-06-04 09:08:32 -03:00
Eric Hare
9aaca68687
fix: Refactor a few more components to proper folders (#8324)
* fix: Refactor a few more components to proper folders

* Rename action for load files

* [autofix.ci] apply automated fixes

* Update tests for new naming

* Update video_file.py

* Update video_file.py

* Update video_file.py

* Update test_batch_run_component.py

* Move unit tests

* Update test_structured_output_component.py

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
2025-06-03 23:35:46 +00:00
Edwin Jose
644bc87eca
fix: api request component curl mode error (#8353)
* Update api_request.py

* Update api_request.py

* [autofix.ci] apply automated fixes

* Update Pokédex Agent.json

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
2025-06-03 23:04:40 +00:00
Yuqi Tang
7feba692b1
fix: Revert Typescript Shards (#8359)
revert typescript shards
2025-06-03 22:27:02 +00:00
Eric Hare
4d1112386f
feat: Add Google as an option for genai (#8358) 2025-06-03 22:02:59 +00:00
Edwin Jose
7e5126dcd6
ref: Deprecate pass message component (#8351)
* Update pass_message.py

* Update src/backend/base/langflow/components/logic/pass_message.py

Co-authored-by: Eric Hare <ericrhare@gmail.com>

---------

Co-authored-by: Eric Hare <ericrhare@gmail.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
2025-06-03 21:59:23 +00:00
Mike Fortman
c4ca2bb1da
fix: only allow custom vals and options to be in the options list (#8356)
* only allow customvals and options to be in the options list

*  (general-bugs-dropdown-select-not-in-list.spec.ts): add additional test cases to cover dropdown selection functionality and ensure correct behavior in the frontend application

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-06-03 21:19:01 +00:00
Edwin Jose
68f4905e2a
fix: change LoopComponent data input to DataFrame type and update display name (#8297)
* Update loop.py

* [autofix.ci] apply automated fixes

* Update loop-component.spec.ts

* change dataframe input name to inputs

* [autofix.ci] apply automated fixes

* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and efficiency

* 🔧 (typescript_test.yml): adjust optimal shard count calculation to use a maximum of 10 shards instead of 40 for better test distribution
🐛 (loop-component.spec.ts): fix getByTestId selector to match the updated element ID for testing purposes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yuqi Tang <yuqi.tang@datastax.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-06-03 19:49:24 +00:00
Edwin Jose
5174c0638d
ref: ConditionalRouter Initialization with Case Sensitivity and renaming inputs (#8337)
* Update conditional_router.py

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-03 18:58:53 +00:00
Yuqi Tang
c5ec3f65e9
fix: Remove id generator (#8325)
* remove id generator

* fix test

* [autofix.ci] apply automated fixes

* update test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-06-03 17:59:49 +00:00
Yuqi Tang
07284891cb
feat: Update components input/output display name and descriptions (#8284)
* create an IO bundle

* Update styleUtils.ts

* [autofix.ci] apply automated fixes

* change folder names

* [autofix.ci] apply automated fixes

* Update test_endpoints.py

* refactor: update test IDs for input/output components in specs

* test: update test IDs for chat input/output components in decisionFlow.spec.ts

* test: update test IDs for input/output components in generalBugs-shard-5.spec.ts

* Update styleUtils.ts

* fix input and output

* update input and output

* 🐛 (typescript_test.yml): increase the maximum shard count to 40 to improve test distribution and efficiency

* fix FE Tests Input output component Ids

* [autofix.ci] apply automated fixes

*  (filterEdge-shard-1.spec.ts): update test to log error message when element is not visible before asserting visibility

*  (notifications.spec.ts): update test selectors for better clarity and consistency in the notifications feature test suite

* fix conflicts

* update json

* update jsons

* update test chat output

* fix tests

* fix fe tests

* update test

* update json

* [autofix.ci] apply automated fixes

* fix tests

* fix tests

* [autofix.ci] apply automated fixes

* update tests

* update test

* [autofix.ci] apply automated fixes

* fix tests

* fix format

* [autofix.ci] apply automated fixes

* fix test

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: deon-sanchez <deon.sanchez@datastax.com>
Co-authored-by: Deon Sanchez <69873175+deon-sanchez@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-06-03 17:52:21 +00:00
Abhishek Patil
f835a6b4dd
feat: Add Composio Outlook component (#7987)
* feat: add Composio Outlook component

* feat: add Composio Outlook component

* feat: add outlook test file

* chore: remove file

* fix: format

* fix: add result_field to improve toolcall response

* Update src/frontend/src/icons/outlook/outlook.jsx

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-06-03 16:28:24 +00:00
Gabriel Luiz Freitas Almeida
c0c08841ce
ci(docker): update Buildx setup to use BuildKit container backend (#8320) 2025-06-03 13:18:49 -03:00
Gabriel Luiz Freitas Almeida
f21d23fb58
perf: Optimize JobQueueService for performance and clarity improvements (#6690)
* ️ Speed up method `JobQueueService.create_queue` by 630% in PR #5940 (`refactor-build-flow`)
Certainly! To optimize the provided `JobQueueService` class to run faster, we should ensure the code efficiency in creating event managers and handling queues. We can speed up the process by making the following changes.

1. Remove redundant logger calls if they don't provide essential debugging or monitoring information.
2. Inline `create_default_event_manager` function to avoid redundant function calls while ensuring that the `EventManager` setup remains efficient.
3. Ensure faster dictionary access and error message handling.

Here is the rewritten and optimized code.

In this optimization.
1. The `create_queue` method was streamlined to reduce redundancy checks and fewer logger messages.
2. The `create_default_event_manager` function is integrated directly as `_create_default_event_manager` private method within the class.
3. Utilized list iteration instead of multiple function calls to register events efficiently in the `EventManager`.

These changes aim to maintain functionality while improving performance where possible, particularly in the setup process.

* fix: improve error messages in JobQueueService for better clarity

* [autofix.ci] apply automated fixes

* refactor: Relax event type constraint in EventManager

Change event type from a strict literal to a more flexible string type, allowing for greater extensibility in event registration

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* fix: update send_event method to use str for event_type

* fix: change event_type parameter to str and handle invalid types in create_event_by_type

* fix: Add noqa comment to suppress linting warning for access_host assignment

---------

Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-03 15:57:25 +00:00
Gabriel Luiz Freitas Almeida
8fb9750a7b
fix: Fix Anthropic output processing and update dependency (#8283)
* chore: update langchain-anthropic dependency to version 0.3.14 and adjust revision in uv.lock

* fix: add workaround for handling function calling in Anthropic output processing

* Fix indentation

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: remove duplicate error message in _extract_output_text function

* fix: update _build_llm_model to handle missing attributes gracefully

* fix: handle max_tokens default value and improve error handling in AnthropicModelComponent

* fix: enhance input handling in Component class to manage deepcopy errors

* fix: add 'no_blockbuster' marker to pytest configuration for improved test control

* fix: refactor agent component tests to include all OpenAI and Anthropic models, improving validation and error reporting

* fix: update agent components to include pydantic validation and improve error handling across multiple starter projects

* fix: set default max_tokens value in AnthropicModelComponent and improve API URL handling

* fix: enhance error reporting in AgentComponent tests by capturing exceptions and response discrepancies for all Anthropic models

* chore: update package versions in uv.lock, including alembic, arize-phoenix-otel, bce-python-sdk, boto3-stubs, botocore-stubs, tornado, and others for improved compatibility and features

* fix: update agent components across multiple starter projects to include new imports and improve error handling

* fix: streamline max_tokens handling in AnthropicModelComponent for improved clarity and robustness

* [autofix.ci] apply automated fixes

* fix: update artifacts_raw type to allow None for better flexibility

* fix: initialize artifacts_raw as an empty dict if None to prevent errors

* fix: specify type for similarity_score to enhance type safety and clarity

* fix: refactor JSON parsing to improve variable naming and clarity

* fix: skip flaky test in Portfolio Website Code Generator until stabilized

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-06-03 14:58:13 +00:00
dependabot[bot]
ae6f3429f0
build(deps): bump esbuild from 0.21.5 to 0.25.0 in /src/frontend (#6257)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.21.5 to 0.25.0.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.21.5...v0.25.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-06-03 13:59:04 +00:00
Lucas Oliveira
fe423d9e59
fix: changed host to be localhost on exhibition if host is 0.0.0.0 (#8335)
changed host to be localhost on exhibition if host is 0.0.0.0
2025-06-03 13:01:30 +00:00
Gabriel Luiz Freitas Almeida
bdc7587930
ci: fix uv cache in CI workflows (#8319) 2025-06-03 09:50:18 -03:00
Dexter192
9191773957
fix: Allow upload limit increase in kubernetes deployment (#7664)
* Add nginx body size upload limit config

* Add nginx body size upload limit config

* Rename env variable to match existing max upload

* Rename env variable to match existing max upload

* Add export of Max_file_size_upload variable

* Add unit to max body size

* Remove unit from default assignment

* Apply comments and move config to default nginx conf template

---------

Co-authored-by: daniel.kaestner <daniel.kaestner@cas.de>
Co-authored-by: Dexter192 <DanielKaestner@otlook.de>
2025-06-03 11:53:08 +00:00
yihong
61e345a029
fix: wrong command in Makefile since drop poetry (#6745)
* fix: wrong command in Makefile since drop poetry

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

* fix: address comments

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

* fix: update Makefile to use uvx for codespell commands

---------

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-06-03 11:33:31 +00:00
dependabot[bot]
7e1452149c
chore(deps): bump tar-fs from 2.1.2 to 2.1.3 in /src/frontend (#8332)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-03 08:36:21 -03:00
Gabriel Luiz Freitas Almeida
a276c2de48
fix: Refactor MCP API to fix value truncation (#8298)
* refactor: Simplify flow execution and update input handling in MCP API

- Replaced `InputValueRequest` with `SimplifiedAPIRequest` for cleaner input management.
- Updated flow execution logic to utilize `simple_run_flow`, enhancing clarity and performance.
- Removed unnecessary background task handling and streamlined progress updates.
- Improved message collection from flow outputs, ensuring robust handling of results.

* fix: Add error handling for tool execution in MCP API

- Implemented a try-except block around the flow execution to catch and handle exceptions gracefully.
- Enhanced message collection logic to ensure that errors during tool execution are communicated back as text content.
- Improved robustness of the `handle_call_tool` function by ensuring all potential errors are captured and reported.

* fix: Improve error messaging in tool execution for MCP API

- Updated error handling in the `handle_call_tool` function to provide more descriptive error messages.
- Changed the error message format to include the flow name, enhancing clarity for debugging purposes.
- Ensured that all exceptions during tool execution are captured and reported as text content.

* refactor: Enhance message and result handling in handle_call_tool

- Improved the logic for processing outputs in the `handle_call_tool` function to handle messages and results more comprehensively.
- Streamlined the collection of text content from both messages and results, ensuring all relevant outputs are captured.
- Enhanced robustness by ensuring that all outputs are processed, regardless of their structure.

* refactor: Improve progress notification handling in handle_call_tool

- Updated the logic for progress task creation in the `handle_call_tool` function to ensure it only initializes when progress notifications are enabled and a progress token is present.
- Enhanced the cancellation and exception handling of the progress task to prevent potential errors when it is not created.
- Improved overall robustness of the function by ensuring that progress updates are managed correctly based on the current context.

* refactor: Streamline flow execution and message handling in ProjectMCPServer

- Replaced `InputValueRequest` with `SimplifiedAPIRequest` for improved input management.
- Updated flow execution to utilize `simple_run_flow`, enhancing clarity and performance.
- Refined progress notification handling to ensure tasks are only created when necessary.
- Improved message collection from flow outputs, ensuring robust handling of both messages and results.
- Enhanced error handling during tool execution to provide clearer feedback on failures.

* refactor: enhance progress update handling in ProjectMCPServer

Updated the send_progress_updates function to accept a progress token as an argument, improving its flexibility. Adjusted the task cancellation logic to use asyncio.gather for better exception handling. This change aims to streamline progress notifications when enabled.

* refactor: add group_outputs property to message configurations in starter projects
2025-06-02 21:32:31 +00:00
Lucas Oliveira
0896f51983
fix: added truncation length as constant and reduced it to 100 (#8321)
* Added truncation items as constant and reduced it to 100

* Added truncation test to regression

* get max items length from config

* changed typo in backend
2025-06-02 21:30:11 +00:00