Commit graph

15,673 commits

Author SHA1 Message Date
Edwin Jose
d421de5b8b
feat: add tool mode unsupported list for groq Models (#7497)
* update groq Models

Tested curated list of latest models

* add tool mode tested models

* Update src/backend/base/langflow/base/models/groq_constants.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-15 13:57:55 +00:00
dependabot[bot]
ececff8e90
build(deps): bump @babel/runtime from 7.26.9 to 7.26.10 in /docs (#7073)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.26.9 to 7.26.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 12:18:51 +00:00
dependabot[bot]
bdf0104c2a
build(deps): bump @babel/helpers from 7.26.9 to 7.27.0 in /docs (#7627)
Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.26.9 to 7.27.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.0/packages/babel-helpers)

---
updated-dependencies:
- dependency-name: "@babel/helpers"
  dependency-version: 7.27.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 12:18:30 +00:00
Lucas Oliveira
7fb400d99e
fix: made reranker not disable when hybrid search is enabled (#7622)
* added toggle_disable option

* made toggle be disabled when toggle_disable is true

* added logic to disable toggle when choosing hybrid search

* Updated starter projects

* Fixed toggle_disable to be optional

* fixed toggle disable to remove toggle

*  (intComponent.spec.ts): update test assertions to match expected behavior after changes in the component's functionality

---------

Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-04-14 23:47:14 +00:00
Deon Sanchez
28675d873f
fix: update Gmail icon to Google and improve ListSelectionComponent styles (#7591)
* fix: update Gmail icon to Google and improve ListSelectionComponent styles

* fix: remove unnecessary info and improve required field handling in Composio components

* style: update ListSelectionComponent and SortableListItem for improved layout and styling

* fix: enhance ListSelectionComponent and SortableListComponent to support search functionality

* style: adjust height and padding in SortableListItem for better visual consistency

*  (intComponent.spec.ts): update test assertions to match expected behavior after changes in the component's functionality

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-04-14 23:08:43 +00:00
Gabriel Luiz Freitas Almeida
ae2ef5d8e4
chore: Update langflow and langflow-base package versions to 1.3.3 and 0.3.3 (#7625)
* chore: update package versions to 1.3.3 and 0.3.3

- Bump langflow version to 1.3.3 in pyproject.toml and uv.lock.
- Update langflow-base version to 0.3.3 in its pyproject.toml and uv.lock.

* chore: bump langflow version to 1.3.3 in package.json and package-lock.json
2025-04-14 22:38:00 +00:00
Gabriel Luiz Freitas Almeida
11ac89adf2
fix: update build_flow_and_stream with event delivery info (#7616)
refactor: Update event delivery mechanism in build_flow_and_stream function

Modified the build_flow_and_stream function to utilize the new event delivery type, STREAMING, for improved event handling. The function now returns a response from get_flow_events_response, enhancing the clarity and robustness of the event streaming process.

Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
2025-04-14 21:59:23 +00:00
Gabriel Luiz Freitas Almeida
273bd7d339
feat: Add new OpenAI model options (#7619)
* feat: Add new OpenAI model versions to constants

Added "gpt-4.1", "gpt-4.1-mini", and "gpt-4.1-nano" to the list of OpenAI model names in openai_constants.py to support the latest model updates.

* feat: Add new OpenAI model options to starter projects

Included "gpt-4.1", "gpt-4.1-mini", and "gpt-4.1-nano" in the options for various starter project configurations to support the latest model updates across multiple JSON files.

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
2025-04-14 21:14:47 +00:00
Mendon Kissling
1b6c10a897
docs: hybrid search feature (#7573)
* initial-page-and-some-overview

* steps

* remove-file

* feat: enhance Astra DB hybrid search documentation

* numbering

* clarify hybrid search

* dataframe-link

* Apply suggestions from code review

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@gmail.com>

* code-review

* collection-and-string-not-list

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@gmail.com>
2025-04-14 19:26:07 +00:00
Lucas Oliveira
7bded7f6ed
fix: remove lexical search from astra db hybrid search (#7620)
* Remove lexical search from astra db hybrid search

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-14 19:16:59 +00:00
Edwin Jose
56055043aa
feat: enhance openai model component with o1 support (#7107)
* update models

* Delete package-lock.json

* Create package-lock.json

* [autofix.ci] apply automated fixes

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

* [autofix.ci] apply automated fixes

* updated templates

* update

* [autofix.ci] apply automated fixes

* Update Text Sentiment Analysis.json

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-14 18:17:27 +00:00
Gustavo Costa
dde91e2581
fix: add file format validation to component save-to-file (#7593)
* add _check_file_format

* [autofix.ci] apply automated fixes

* change to __adjust_file_path_with_format

* [autofix.ci] apply automated fixes

* Refactor and enhance tests for _adjust_file_path_with_format method

- Added parameterized tests to verify correct file extension handling for various formats.
- Ensured existing extensions are preserved and incorrect extensions are handled appropriately.
- Included a test for expanding the home directory symbol '~' in file paths.
- Removed outdated tests related to _check_file_format method.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-14 17:44:36 +00:00
github-actions[bot]
90128ca4e3
docs: OpenAPI spec version upgraded from 1.2.0 to 1.3.2 (#7492)
* docs: OpenAPI spec version upgraded from 1.2.0 to 1.3.2

* remove-var-braces-in-descriptions

---------

Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
2025-04-14 14:16:45 +00:00
github-actions[bot]
11614993dc
chore: update test durations (#7612)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2025-04-14 09:22:17 -03:00
Lucas Oliveira
801276cbb7
fix: revert "feat: adds pan and pinch nav mode like figma" (#7603)
Revert "feat: adds pan and pinch nav mode like figma (#7410)"

This reverts commit a2c5090c7a.
2025-04-12 02:35:40 +00:00
Simon Duncan
b39fdc5b7d
Fix: CLI Social Links (#7601)
* Update social CLI links

* Fix star emoji

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-12 01:44:59 +00:00
Gabriel Luiz Freitas Almeida
050230cad1
fix: Enhance foreign key constraint management and naming conventions in migrations (#7569)
* fix: ensure foreign key constraints are only dropped if they exist in upgrade script

* Updated the upgrade function to check for the existence of foreign key constraint names before attempting to drop them in the message, transaction, and vertex_build tables, enhancing robustness and preventing potential errors during migration.

* refactor: streamline foreign key constraint removal in upgrade script

* Simplified the upgrade function by directly dropping foreign key constraints for the message, transaction, and vertex_build tables without checking for their existence, enhancing code clarity and maintainability.

* feat: introduce naming convention for database constraints in Alembic environment

* Added a naming convention dictionary to standardize the naming of indexes, unique constraints, check constraints, foreign keys, and primary keys in the Alembic migration environment, enhancing consistency and clarity in database schema management.

* refactor: enhance foreign key constraint management in upgrade and downgrade scripts

* Updated the upgrade function to recreate the message, transaction, and vertex_build tables without foreign key constraints, preserving data integrity during migration.
* Improved the downgrade function to restore these tables with the appropriate foreign key constraints, ensuring consistency in the database schema.
* Introduced a naming convention for database constraints to standardize naming across migrations.

* refactor: update table schema in Alembic migration for improved data handling

* Modified the schema for the message, transaction, and vertex_build tables to enhance data integrity by changing column types and adding new fields.
* Updated data insertion queries to use quoted identifiers, preventing potential issues with SQL keywords.
* Ensured that the upgrade and downgrade functions maintain consistency in the database schema during migrations.

* refactor: enhance data insertion logic in Alembic migration scripts

* Updated data insertion queries for the message, transaction, and vertex_build tables to explicitly list columns and filter out rows with NULL IDs, improving data integrity during migrations.
* Utilized window functions to ensure uniqueness of build_id across different database systems, enhancing compatibility and robustness.
* Maintained consistency in upgrade and downgrade functions to ensure seamless schema transitions.

* Revert "Revert "fix: published flows now can add rows to the database" (#7571)"

This reverts commit a8d2fccd1c.
2025-04-11 20:24:38 +00:00
Gabriel Luiz Freitas Almeida
2b2226ffb9
fix: Standardize endpoint paths in files v2 API (#7595)
fix: standardize endpoint paths in files API

Updated the file API routes to include trailing slashes for consistency. This change affects the upload, list, and delete endpoints, ensuring they all follow the same URL structure.
2025-04-11 20:24:04 +00:00
Mendon Kissling
057e272e6e
docs: rewrite installation guide (#7415)
* initial-test-and-rewrite

* default-tabs

* install-optional-dependencies

* docs: update installation guide to include Langflow Desktop and clarify OSS installation steps

* prerequisites

* remove-bullets

* install-errors-and-stop-sections

* Apply suggestions from code review

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

* code-review

* fix-link

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-04-11 20:12:51 +00:00
dependabot[bot]
93fbd3bff7
build(deps-dev): bump vite from 5.4.16 to 5.4.18 in /src/frontend (#7596)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.16 to 5.4.18.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.18/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.18/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 5.4.18
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-11 19:23:42 +00:00
Eric Hare
907a594428
feat: Add Hybrid Search functionality to AstraDB + AstraPy / LangChain Updates (#7358)
* feat: Add Hybrid Search functionality and AstraPy 2.0 and associated deps (#7357)

* astrapy 2.0 tentative full pass

* Update the create collection function

---------

Co-authored-by: Stefano Lottini <stefano.lottini@datastax.com>

* Update deps

* Update uv.lock

* Fix linting errors in astradb

* Update package lock

* [autofix.ci] apply automated fixes

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

* Add basic UI scaffolding for hybrid search

* [autofix.ci] apply automated fixes

* Continue to clean up component

* [autofix.ci] apply automated fixes

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

* Fix the keyspace compatibility

* [autofix.ci] apply automated fixes

* feat: add nodeId, nodeClass, and handleNodeClass props to dropdown an… (#7406)

feat: add nodeId, nodeClass, and handleNodeClass props to dropdown and string render components

Co-authored-by: deon-sanchez <deon.sanchez@datastax.com>

* Update uv.lock

* Update uv.lock

* Add hybrid search support in collection creation

* [autofix.ci] apply automated fixes

* Updates from review comments

* [autofix.ci] apply automated fixes

* Add in lexical search support

* [autofix.ci] apply automated fixes

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

* Detect collection hybrid params

* [autofix.ci] apply automated fixes

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

* Pass lexical terms at search time

* [autofix.ci] apply automated fixes

* Update test_astra_component.py

* Add Query Input and Mixin on backend

* Adds Query on supported types

* Adds types for query modal and component

* Adds size for new query modal

* Adds query modal

* Adds query component

* Adds query component on parameter render

* [autofix.ci] apply automated fixes

* Feedback from review

* [autofix.ci] apply automated fixes

*  (switch-case-size.ts): Update height value to 'h-fit' for 'small-query' case to improve responsiveness
 (queryInputComponent.spec.ts): Add unit test for user interaction with query input component, including updating code and testing functionality

* Switch to multiline for lexical terms

* [autofix.ci] apply automated fixes

* Create Hybrid Search RAG.json

* Update Hybrid Search RAG.json

* Added queryInput in vectorstore model

* Added queryInput in lexical terms

* Update model.py

* Update Hybrid Search RAG.json

* Add query support in field validation

* fix: bump Astra Assistants version to support AstraPy 2.0 (#7535)

2.2.12

Co-authored-by: phact <estevezsebastian@gmail.com>

* Update uv.lock

* Fixed QueryInput not receiving text from handle

* Set search type to similarity search when hybrid

* Always set to similarity when we have the reranker

* [autofix.ci] apply automated fixes

* Add logging for hybrid search support

* Update starter projects

* Update Hybrid Search RAG.json

* Added dropdown toggle on backend

* Added toggle on dropdown on frontend

* Added showing only value if there is just one option in the dropdown

* Added toggle to Dropdown Input on Astra Db

* [autofix.ci] apply automated fixes

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

* init toggle value as true or false

* Change it to send null value if toggle is disabled

* Added resizer on search query

* Added Search Hybrid, Lexical and Vector icons

* Added icons and new Lexical Search on Dropdown Input of Astra DB

* Updated starter projects

* Changed descriptions on astradb component

* Changed starter projects

* Lexical search option for dropdown

* Update astradb.py

* Update starter projects

* One small lexical update

* Update astradb.py

* Update projects

* [autofix.ci] apply automated fixes

* Fixed dropdown changing when toggle is off

* Update astradb.py

* [autofix.ci] apply automated fixes

* Don't show lexical terms on new collection creation

*  (actionsMainPage-shard-0.spec.ts): add functionality to add flow to test on empty langflow button click
 (filterEdge-shard-1.spec.ts): add functionality to add flow to test on empty langflow button click
♻️ (await-bootstrap-test.ts): refactor code to reuse addFlowToTestOnEmptyLangflow function for adding flow to test on empty langflow button click

* [autofix.ci] apply automated fixes

* 🐛 (filterEdge-shard-1.spec.ts): fix incorrect reference to memoriesAstra DB Chat Memory, update to memoriesMem0 Chat Memory for accurate testing data.

---------

Co-authored-by: Stefano Lottini <stefano.lottini@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: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: phact <estevezsebastian@gmail.com>
2025-04-11 18:03:34 +00:00
Mendon Kissling
fb79b80f91
docs: add webhook example (#7565)
* update-trigger-for-parser-component

* switch

* docs: webhook page and sidebars

* docs:sidebars

* cleanup-and-link

* remove-followon-for-now

* Apply suggestions from code review

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

* Update docs/docs/Develop/webhook.md

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-04-11 17:03:16 +00:00
Mendon Kissling
62462a65c9
docs: parser component example (#7545)
* parser-component-content

* 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-04-11 16:31:27 +00:00
Simon Duncan
ff197a4fa7
feat: Update CLI message and style (#7588)
* Update CLI message and style

* [autofix.ci] apply automated fixes

* 📝 (langflow/__main__.py): update access link to include protocol dynamically based on input

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-04-11 15:35:19 +00:00
Mendon Kissling
fa76d568cd
docs: batch run component example (#7542)
* init

* add-instructions-and-image-for-batch-run

* Apply suggestions from code review

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

* update-table-values

---------

Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
2025-04-11 13:19:31 +00:00
Lucas Oliveira
c68372bb73
fix: removed handle on secret input (#7411)
* Removed input types from secret input

* Changed starter projects
2025-04-11 12:17:34 +00:00
Gabriel Luiz Freitas Almeida
a8d2fccd1c
Revert "fix: published flows now can add rows to the database" (#7571)
Revert "fix: published flows now can add rows to the database (#7560)"

This reverts commit 077110a496.
2025-04-10 21:40:54 +00:00
Edwin Jose
0d942b264e
feat: create Amazon bundle (#7255)
* create Amazon bundle

* Update s3_bucket_uploader.py

* update FE tests

* [autofix.ci] apply automated fixes

*  (dropdownComponent.spec.ts): update test selectors to match the updated component names for better test accuracy
 (keyPairListComponent.spec.ts): update test selectors to match the updated component names for better test accuracy

* Update filterEdge-shard-1.spec.ts

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-04-10 20:22:32 +00:00
Edwin Jose
e135b7f341
fix: loop variable not accessible error (#7501)
* tests cases

* update to loop

* Update component.py

* 📝 (LoopTemplate.json): update value of a configuration key from "OPENAI_API_KEY" to "ANTHROPIC_API_KEY" in order to reflect the correct API key being used

* update json test loop

* fix: update test URL in loop-component.spec.ts to reflect correct reference

Changed the URL in the test case from "Artificial_intelligence" to "Human_intelligence" to ensure accurate testing of the loop component functionality.

* update FE tests

* [autofix.ci] apply automated fixes

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-10 20:13:33 +00:00
Lucas Oliveira
b5e33cea54
fix: show connected outputs being hidden by code (#7510)
* remove-tag-manager

* update-gtag-tracking-id

* add-head-tag

* remove Google Analytics gtag configuration from docusaurus.config.js

* fix-hydration-error

* revert-to-easy-way

* standard-gtag

* broken-link

* refactor: streamline Google Tag Manager script configuration in docusaurus.config.js

* Apply suggestions from code review

Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>

* Added ShowHiddenOutputs to node output field and made handle not be shown if hidden

* Added ShowHiddenOutputs in OutputParameter

* Added showHiddenOutputs to nodeOutputFieldComponentType

* Passed showHiddenOutputs to outputs

* Check if input types is not empty before counting handle

* Updated missing callback dep

* Added hidden parameter to not have duplicated handles

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-10 20:07:00 +00:00
Edwin Jose
b060183c8c
feat: QoL MCP (#7361)
* Update mcp_component.py

* [autofix.ci] apply automated fixes

* Update mcp_component.py

* Update mcp_component.py

* making tools empty when see url is empty

*  (mcp-server.spec.ts): add additional tests to ensure dropdown_str_tool is disabled and has a timeout of 30 seconds for selector wait.

* fix mcp tests

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-04-10 18:58:06 +00:00
Lilko Petkov
58b9551758
feat: Enable SSL flags for local development (#7060)
* ssl-support: Enable SSL for local development to simulate a production-like environment. This would allow testing features requiring SSL during development, third party integrations, and allowing easier SSL integration without WAFs and reverse proxies

* rebase

* rebase fixes

---------

Co-authored-by: lpetkov <lpetkov@pros.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Jordan Frazier <122494242+jordanrfrazier@users.noreply.github.com>
Co-authored-by: Jordan Frazier <jordan.frazier@datastax.com>
2025-04-10 18:12:04 +00:00
jeevi cao
3fccfd75ed
feat: frontend docker nginx configuration add brower cache accelerated pages access (#7125)
* Update py_autofix.yml

* feat: frontend docker nginx  add brower cache accelerate page access

* Revert "Update py_autofix.yml"

This reverts commit 7aed45e98602f57c2d6d33532080bad30cf02507.

* revert py_autofix.yml

* Revert "Update py_autofix.yml"

This reverts commit 7aed45e98602f57c2d6d33532080bad30cf02507.

* add: remove blank line

* fix: update Nginx configuration to prevent caching for index.html

---------

Co-authored-by: tianzhipeng <tzpabc@gmail.com>
Co-authored-by: caojianwei-jk <caojianwei-jk@360shuke.com>
2025-04-10 17:57:41 +00:00
Gabriel Luiz Freitas Almeida
4173656c89
fix: Update type hints in BatchRunComponent to avoid lint errors (#7567)
* fix: update type hints in BatchRunComponent for improved clarity and consistency

* fix: add type casting in BatchRunComponent for improved type safety

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-10 17:23:40 +00:00
Gabriel Luiz Freitas Almeida
4953227391
chore: Update Makefile to include PostgreSQL in backend installation (#7561)
fix: update Makefile to include 'postgresql' in backend installation command
2025-04-10 17:23:24 +00:00
Jeffrey Carpenter
dff2606fa0
feat: add multi-file support and rename NVIDIA Ingest to NeMo Retriever Extraction (#7495)
* nv-ingest multi-file support

* [autofix.ci] apply automated fixes

* fix linter error

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-10 16:13:23 +00:00
Cristhian Zanforlin Lousa
eb814b29c0
fix: remove unecessary comment from build_flow (#7563)
♻️ (chat.py): remove unused settings_service parameter from the build_flow function signature to clean up the code and improve readability
2025-04-10 16:01:42 +00:00
Gabriel Luiz Freitas Almeida
077110a496
fix: published flows now can add rows to the database (#7560)
* fix: add File model to module exports in database models

* fix: remove unused relationships and imports in database models

* fix: remove foreign key constraints from message, transaction, and vertex_build tables
2025-04-10 15:37:12 +00:00
Abhishek Patil
e8cf155488
chore: Composio version bump (#7557)
chore: composio version bump
2025-04-10 14:46:03 +00:00
saber-wang
cf165953f1
fix: endpoint build_public_tmp now supports event delivery type direct (#7526)
* fix the issue where `build_public_tmp` does not support `EVENT_DELIVERY=direct`

* fix: modify `build_public_tmp` to conform to the latest design

* [autofix.ci] apply automated fixes

* fix: Delete debugging logs

* fix: Delete debugging logs

* fix: Delete debugging logs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-04-10 14:28:55 +00:00
Rodrigo Nader
67009190cd
refactor: update BatchRunComponent to enhance functionality and usability (#7318)
* refactor: update BatchRunComponent to enhance functionality and usability

- Added TOML formatting for rows when no specific column is set.
- Updated display names and descriptions for clarity.
- Introduced an output column name option for customizable model response storage.
- Improved metadata handling and error management.
- Refactored row creation to include original columns and enhanced metadata.

* [autofix.ci] apply automated fixes

* fix: ruff errors

* [autofix.ci] apply automated fixes

* fix: component tests

* [autofix.ci] apply automated fixes

* Update src/backend/base/langflow/components/helpers/batch_run.py

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>

* [autofix.ci] apply automated fixes

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

* ♻️ (batch_run.py): refactor type annotations to use Hashable for dictionary keys to improve type safety and compatibility with different types of keys

* youtube fix

* 🔧 (batch_run.py): remove unnecessary StrInput import and update MessageTextInput import to improve code cleanliness and remove redundancy

* 📝 (batch_run.py): Update import statement to include Hashable from collections.abc for better readability and maintainability
📝 (Youtube Analysis.json): Update display name from "Batch Results" to "DataFrame" for better clarity and consistency

* [autofix.ci] apply automated fixes

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

* uv ruff fixes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
2025-04-10 13:37:15 +00:00
Lucas Oliveira
404e04989a
feat: adds new queryInput with separator and dialog (#7458)
* Add Query Input and Mixin on backend

* Adds Query on supported types

* Adds types for query modal and component

* Adds size for new query modal

* Adds query modal

* Adds query component

* Adds query component on parameter render

* [autofix.ci] apply automated fixes

*  (switch-case-size.ts): Update height value to 'h-fit' for 'small-query' case to improve responsiveness
 (queryInputComponent.spec.ts): Add unit test for user interaction with query input component, including updating code and testing functionality

* Fixed handle not working on Query Input

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-04-10 13:04:54 +00:00
Cristhian Zanforlin Lousa
6f259c6bee
fix: add conditional authorization header for dslf in curl commands (#7457)
*  (get-curl-code.tsx): add support for ENABLE_DATASTAX_LANGFLOW feature flag to include Authorization header in curl command if flag is enabled

* 🐛 (get-curl-code.tsx): fix conditional logic for adding x-api-key header in curl command to correctly handle authentication status

---------

Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-04-10 10:05:43 +00:00
Cristhian Zanforlin Lousa
92bd92b1eb
fix: Improve Dropdown component handling of custom values and add regression test (#7486)
*  (frontend): Add handleOnNewValue prop to Dropdown component to allow selecting a value not in the list
🔧 (frontend): Remove TODO comment and keep handleOnNewValue prop in DropdownComponent
 (frontend): Add test for selecting a value not in the list in Dropdown component

* 🐛 (dropdownComponent/index.tsx): fix issue where custom value was not being added to validOptions and filteredOptions when pressing Enter
 (dropdownComponent/index.tsx): improve functionality to reset filtered options and custom value input when opening the dropdown

* 🔧 (dropdownComponent/index.tsx): improve styling and layout of dropdown component for better user experience

* ♻️ (dropdownComponent/index.tsx): remove unnecessary comments and improve code readability by removing redundant comments and separating render helper functions from logic blocks.

* 📝 (dropdownComponent/index.tsx): add 'no-focus-visible' class to dropdown component to remove focus outline for better accessibility
📝 (applies.css): add styles for 'no-focus-visible' class to remove focus outline for better accessibility
2025-04-10 10:05:29 +00:00
Edwin Jose
7dd75a658c
fix: removing redundant initialisations in composio components (#7485)
removing redundant initialisations
2025-04-10 07:28:46 +00:00
Mendon Kissling
24a052f70c
fix: update Google Analytics tracking ID in docusaurus configuration (#7539)
* fix: update Google Analytics tracking ID in docusaurus configuration

* empty-commit
2025-04-09 23:17:56 +00:00
Mendon Kissling
ab324e5eb9
docs: decrease leftnav spacing (#7532)
* add-coles-sidebar-fix

* menu-spacing

* Changed sidebar-ad from sticky to fixed positioning
2025-04-09 21:26:39 +00:00
Cristhian Zanforlin Lousa
34f00a7f9e
feat: Disable inspect button for empty node outputs (#7528)
🔧 (NodeOutputfield/index.tsx): refactor useMemo hook to check for empty output messages in the flowPoolNode data
🔧 (NodeOutputfield/index.tsx): refactor disabledInspectButton logic to include check for empty output messages

Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-04-09 20:56:04 +00:00
Cristhian Zanforlin Lousa
b1e6881fd2
fix: add conditional authorization header for dslf in curl commands (#7457)
*  (get-curl-code.tsx): add support for ENABLE_DATASTAX_LANGFLOW feature flag to include Authorization header in curl command if flag is enabled

* 🐛 (get-curl-code.tsx): fix conditional logic for adding x-api-key header in curl command to correctly handle authentication status

---------

Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-04-09 20:47:33 +00:00
Cristhian Zanforlin Lousa
b2c74173b5
Fix: Prevent Error Popups When Session Expires During Logout (#7455)
🔧 (use-get-refresh-flows-query.ts, use-get-refresh-flows.ts): Add check for AxiosError status to handle specific error case and set error message accordingly.
2025-04-09 20:45:27 +00:00