Commit graph

16,299 commits

Author SHA1 Message Date
Rodrigo Nader
e0400f29eb
feat: enhance DataFrame Operations component with contains filter and modern UI (#8838)
* feat: enhance DataFrame Operations component with contains filter and modern UI

- Add "contains" filter operator for partial string matching in DataFrame filters
- Update UI to use SortableListInput with icons for consistent modern design
- Add 7 filter operators: equals, not equals, contains, starts with, ends with, greater than, less than
- Fix deselection handling to prevent "unhashable type: list" errors
- Improve dynamic field visibility when operations are deselected
- Add comprehensive test suite with 25 tests covering all operations and edge cases
- Update placeholder text from "Select DataFrame Operation" to "Select Operation"

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* [autofix.ci] apply automated fixes

* Update dataframe_operations.py

---------

Co-authored-by: Claude <noreply@anthropic.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-07-09 21:50:59 +00:00
Lucas Oliveira
f6a9e8fad4
fix: clean edges of same type but different name when switching outputs, update color when deleting edges (#8959)
* fix edges not being cleared if same type but different name

* removed console log

* removed console log

* made edges change trigger re-render of handle color

* Updated position of edges
2025-07-09 21:32:57 +00:00
Mike Fortman
4bd8aa63bf
fix: fix max height of template getting started cards (#8964)
* fix max height

* tiny height change
2025-07-09 21:20:19 +00:00
Harsha Vardhan Khurdula
8c72ea087c
feat: jigsawstack bundle integration (#8832)
* fix: formatting errors.

* fix: formmating errors for jigsawstack components.

* fix: bugs identified by coderabbitai.

* fix: formatting issues on JigsawStack icon gradient.

* fix: project starters.

* fix: value errors.

* fix: app startup

* fix: resolve merge conflicts, accept incoming changes.

* fix:  follow lexicographical order for bundle names.

Co-authored-by: Edwin Jose <edwinjose900@gmail.com>

* feat: add JigsawStack bundle to the sidebar, following lexographical order.

* fix: remove duplicate changes, by rebasing to main/src/.../styleUtils.ts

* fix: apply suggested fixes for potential issues identified from coderabbitai.

---------

Co-authored-by: Edwin Jose <edwinjose900@gmail.com>
2025-07-09 19:53:12 +00:00
Gabriel Luiz Freitas Almeida
ba9740f32a
chore: enable code guidelines in coderabbit configuration (#8958)
* Updated .coderabbit.yaml to enable code guidelines for improved code quality and consistency.
2025-07-09 19:26:25 +00:00
Gabriel Luiz Freitas Almeida
e13a3ca800
fix: Ensure flow_id is not None before logging vertex build details (#8954)
* fix: Update log_vertex_build to accept UUID for flow_id and improve error handling

* Changed flow_id type from str to str | UUID for better type safety.
* Added error handling to raise a ValueError if flow_id is invalid, enhancing robustness of the logging function.

* fix: Ensure flow_id is not None before logging vertex build details

* Updated log_vertex_build call to check if flow_id is not None, enhancing robustness and preventing potential errors when flow_id is absent.
2025-07-09 19:17:50 +00:00
Lucas Oliveira
ef41c71701
fix: update API Access codes to include only authenticated code (#8957)
* changed code tabs to show authenticated values

* Fixed file upload test
2025-07-09 18:54:40 +00:00
Gabriel Luiz Freitas Almeida
be25e88a97
chore: update package versions to include post-release tags (#8955)
* Bump langflow version to 1.5.0.post1 in pyproject.toml and uv.lock.
* Update langflow-base version to 0.5.0.post1 in related files for consistency.
2025-07-09 17:57:03 +00:00
Gabriel Luiz Freitas Almeida
d437d018ce
refactor(auth): simplify flow retrieval by removing settings_service dependency (#8956)
* refactor: Simplify flow reading logic by removing unnecessary settings service dependency

* 🛠️ (flows.py): Remove settings_service parameter from _read_flow and related functions to streamline flow retrieval logic.
* 🔧 (flows.py): Adjust query to directly filter by user_id, enhancing clarity and reducing complexity.

* test: Enhance flow retrieval tests with user isolation checks

* 🧪 (test_flows.py): Remove hardcoded user_id from flow creation tests to ensure user-specific data handling.
*  (test_flows.py): Add a new test to verify that users can only access their own flows, ensuring proper user isolation in flow retrieval.
* 🔧 (test_flows.py): Implement user creation and cleanup logic to maintain test integrity and avoid side effects.
2025-07-09 17:53:34 +00:00
Mendon Kissling
73c1f203b0
docs: update nv-ingest component (#8950)
* add-high-res-and-defaults

* Update docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md
2025-07-09 15:30:38 +00:00
Lucas Oliveira
1362aa1172
fix: make deletion of single file commit to DB, create tests for file deletion (#8953)
* Added commit to db session

* Changed order

* Deleted flush

* Added test to files
2025-07-09 15:17:54 +00:00
Cristhian Zanforlin Lousa
eb69cddc1c
fix: Improve flow export error handling and validation (#8943)
*  (exportModal/index.tsx): Refactor onSubmit function to improve flow export functionality and error handling
♻️ (reactflowUtils.ts): Refactor downloadFlow function to return a Promise and improve error handling

* 📝 (exportModal/index.tsx): remove unnecessary comment about handling error in export flow to improve code readability

* 🐛 (exportModal/index.tsx): remove unnecessary filePath variable and simplify logic for exporting flows
💡 (exportModal/index.tsx): refactor code to improve readability and remove redundant code for exporting flows
2025-07-09 12:57:02 +00:00
Cristhian Zanforlin Lousa
88803e31d2
refactor: Extract single file download logic to custom hook (#8944)
 (use-custom-handle-bulk-files-download.ts): add custom hook to handle bulk files download functionality
 (use-custom-handle-single-file-download.ts): add custom hook to handle single file download functionality
🔧 (index.tsx): fix import path for use-custom-handle-bulk-files-download hook in filesPage
🔧 (index.tsx): fix import path for use-custom-handle-single-file-download hook in filesContextMenuComponent

Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
2025-07-08 23:32:10 +00:00
Cristhian Zanforlin Lousa
f390d3a4e9
fix: Improve modal layout responsiveness and overflow handling (#8936)
 (switch-case-size.ts): Update modal sizes for better user experience and consistency
 (index.tsx, TemplateGetStartedCardComponent): Adjust styles for better layout and responsiveness
 (index.tsx): Improve modal layout and scrolling behavior for better usability
2025-07-08 23:12:16 +00:00
Cristhian Zanforlin Lousa
fc729cd7b5
feat: Add dynamic theming support to WatsonxAI icon (#8935)
*  (WatsonxAI.jsx): Add support for dynamic fill color based on isdark prop value
📝 (index.tsx): Import useDarkStore hook and pass isdark prop to SvgWatsonxAI component

*  (WatsonxAI.jsx): Remove unnecessary console.log statement
♻️ (index.tsx): Remove unnecessary console.log statement
2025-07-08 22:28:06 +00:00
Gabriel Luiz Freitas Almeida
24db0cdc73 fix: remove crewai dependency and add import guards in crewai components (#8923) 2025-07-08 09:59:46 -03:00
Gabriel Luiz Freitas Almeida
8fdd23a9b6 chore: update GitHub Actions workflow to inherit secrets (#8922) 2025-07-08 09:59:46 -03:00
Jordan Frazier
7ffec1a696 feat: add powershell curl tab to UI (#8889)
* chore: Bump version to 1.5.0 and update dependencies

- Updated langflow version to 1.5.0 in pyproject.toml, package.json, and package-lock.json.
- Updated langflow-base dependency to version 0.5.0.
- Added platform markers for several dependencies in uv.lock to improve compatibility across different systems.

* fix: fixes auth check for auto_login  (#8796)

* ref: improve docling template updates and error message (#8837)

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: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* Attempt to provide powershell curl command

* [autofix.ci] apply automated fixes

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

* Added OS selector to code tabs

* Added no select classes to API modal

*  (code-tabs.tsx): add data-testid attribute to API tab elements for testing purposes
🔧 (tweaksTest.spec.ts, curlApiGeneration.spec.ts, pythonApiGeneration.spec.ts, generalBugs-shard-3.spec.ts): update test scripts to use data-testid attribute for API tab elements instead of role attribute

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
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: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2025-07-08 09:59:46 -03:00
Jordan Frazier
be18f6d03a feat: add new openai reasoning models (#8786)
* Add new openai reasoning models

* [autofix.ci] apply automated fixes

* Updates language model, but FE doesn't send a POST for updating template atm

* use chatopenai constants

* [autofix.ci] apply automated fixes

* Add reasoning to language model test

* Remove temp from all reasoning models

* t [autofix.ci] apply automated fixes

* refactor: Update template notes (#8816)

* update templates

* small-changes

* template cleanup

---------

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

* ruff

* uv lock

* starter projects update

* [autofix.ci] apply automated fixes

---------

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: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
2025-07-08 09:59:46 -03:00
Jordan Frazier
15f2177c90 fix: handle EventLoopBlockError in CI to fix non-deterministic test failures (#8890)
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: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
fix: fixes auth check for auto_login  (#8796)
2025-07-08 09:59:46 -03:00
Jordan Frazier
969afef523 ref: improve docling template updates and error message (#8837)
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: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-07-08 09:59:46 -03:00
Jordan Frazier
fe58d69ae7 fix: fixes auth check for auto_login (#8796) 2025-07-08 09:59:46 -03:00
Gabriel Luiz Freitas Almeida
69ceaea739 chore: Bump version to 1.5.0 and update dependencies
- Updated langflow version to 1.5.0 in pyproject.toml, package.json, and package-lock.json.
- Updated langflow-base dependency to version 0.5.0.
- Added platform markers for several dependencies in uv.lock to improve compatibility across different systems.
2025-07-08 09:59:46 -03:00
Gabriel Luiz Freitas Almeida
7aeb687533
fix: don't send duplicate messages to Agent (#8909)
* fix: update message input handling in LCAgentComponent and improve memory data retrieval

* Refactor MessageTextInput to MessageInput for consistency.
* Enhance input dictionary construction to handle different input types in LCAgentComponent.
* Update get_memory_data method to filter out current input value from retrieved messages.

* fix: update AgentComponent to include documentation link and improve input handling

* Added documentation link for AgentComponent.
* Removed memory inputs from the agent component for cleaner input management.
* Enhanced error handling in message_response method to ensure better validation and logging of exceptions.

* fix: enhance input handling in LCAgentComponent by updating message conversion

* Updated input dictionary construction in LCAgentComponent to use to_lc_message() for Message instances, improving input handling consistency.

* test: add regression test for message duplication in agent component

* Introduced a new test to verify that mathematical expressions do not experience message duplication when processed by the agent component.
* The test checks both input and output JSON to ensure correct handling of expressions like "2+2" without duplication errors.

* test: add workspace tag to regression test for message duplication in agent component

* Updated the regression test for mathematical expressions to include the "@workspace" tag, enhancing test categorization and organization.
* This change ensures better tracking and management of tests related to the agent component.

* fix: add temporary comment in get_memory_data to address message duplication

* Added a TODO comment in the get_memory_data method of AgentComponent to indicate a temporary fix for message duplication issues. This serves as a reminder to develop a more robust solution in the future.

* feat: add message extraction utility for BaseMessage

* Introduced a new helper function, _get_message_from_base_message, to extract and concatenate text content from BaseMessage instances, improving message handling.
* Updated input handling in handle_on_chain_start to utilize the new extraction function, ensuring consistent processing of input messages.

* refactor: standardize code snippets across starter project JSON files

* Updated the "value" field in multiple starter project JSON files to ensure consistent formatting and structure of code snippets.
* This change enhances readability and maintainability of the code examples provided in the starter projects.

* feat: add caching and content dictionary creation for images

* Introduced a new function, create_image_content_dict, to generate a content dictionary for multimodal inputs from image files, enhancing image handling capabilities.
* Implemented LRU caching to optimize performance for repeated image processing.
* Added comprehensive error handling and documentation for better usability and maintainability.

* refactor: update message handling to utilize create_image_content_dict

* Replaced direct image URL creation with create_image_content_dict for improved image content handling in the Data and Message classes.
* Adjusted the order of content in human messages to ensure text appears first, enhancing message structure and clarity.
* Removed deprecated to_lc_message method to streamline the codebase and improve maintainability.

* docs: enhance _get_message_from_base_message docstring for clarity

* Expanded the docstring for the _get_message_from_base_message function to provide detailed information on input types, expected behavior, and examples of usage.
* Improved documentation aims to enhance usability and maintainability of the code by clarifying how to extract text content from BaseMessage instances.

* refactor: enhance image path handling and update message content structure

* Modified the get_file_paths function to support both Image objects and string paths for improved flexibility in file handling.
* Updated test cases to reflect changes in image content structure, ensuring consistency in type and source type attributes.
* Introduced new tests for create_image_content_dict to validate successful creation and error handling for image content dictionaries.

* refactor: streamline message extraction in handle_on_chain_start

* Removed the _get_message_from_base_message function to simplify the codebase.
* Updated handle_on_chain_start to directly use the text method of BaseMessage for extracting message content, enhancing clarity and maintainability.

* feat: enhance input handling for multimodal messages

* Added functionality to process image content within input messages, ensuring images are included in chat history as HumanMessage instances.
* Updated input handling logic to separate image types from text, improving the structure and clarity of message content.
* This enhancement supports better management of multimodal inputs in the agent's chat history.

* feat: add to_lc_message method for converting Data to BaseMessage

* Introduced the to_lc_message method in the Message class to facilitate conversion of Data instances to BaseMessage.
* Implemented logic to handle both HumanMessage and AIMessage based on the presence of required keys and sender type.
* Added logging for missing required keys to improve debugging and maintainability.

* refactor: simplify sender check in Message class

* Updated the sender validation logic in the Message class to remove unnecessary checks for missing sender values.
* This change enhances code clarity and maintains the intended functionality for handling user messages with associated files.

* test: update test_message_from_human_text to reflect content type change

* Modified the test for message conversion to assert that lc_message.content is a string instead of a list.
* Updated assertions to ensure the content matches the expected text, enhancing test accuracy and reliability.

* fix: update sender validation in Message class and adjust test case

* Modified the sender validation logic to handle cases where the sender is not specified, defaulting to HumanMessage.
* Updated the corresponding test case to reflect this change, ensuring accurate type assertion for lc_message when no sender is provided.

* refactor: update import statements for consistency and clarity

* Replaced the import of BaseModel from langchain.pydantic_v1 with the direct import from pydantic to streamline dependencies.
* This change enhances code clarity and aligns with best practices for managing imports in the codebase.

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
2025-07-08 01:36:39 +00:00
Lucas Oliveira
30c678b293
fix: add description to API Access dialog and link it to API Keys on settings (#8912)
* Add description to modal when autologin is on and change from A to CustomLink

* Changed place of custom link

* Made settings back button go back to previous page
2025-07-07 20:52:36 +00:00
Lucas Oliveira
e486f6ac21
fix: reset files count after deletion, enable files filtering by column (#8911)
* Fixed items count not resetting after deletion

* Fixed transparent div not allowing filters to be used

* remove setting quantity after downlaod
2025-07-07 20:52:25 +00:00
Gabriel Luiz Freitas Almeida
fd92d16553
fix: prevent message duplication in ProjectMCPServer and handle_call_tool (#8918)
* Updated the message processing logic in both ProjectMCPServer and handle_call_tool to ensure that duplicate messages are not added to the collected results.
* Introduced a helper function to manage the addition of results, enhancing code clarity and maintainability.

Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
2025-07-07 20:47:21 +00:00
Cristhian Zanforlin Lousa
114a70eebd
refactor: Update useIsLocalConnection to useCustomIsLocalConnection (#8915)
 (use-custom-is-local-connection.ts): introduce a new hook to check if the current window is being accessed through a local connection
♻️ (McpServerTab.tsx): refactor to use the new useCustomIsLocalConnection hook instead of the deprecated useIsLocalConnection hook
2025-07-07 20:15:54 +00:00
Sebastián Estévez
6c8764c36a
fix: health check for mcp server (#8908)
* fix health check for mcp server

* [autofix.ci] apply automated fixes

---------

Co-authored-by: phact <estevez.sebastian@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-07 18:56:26 +00:00
Cristhian Zanforlin Lousa
ca0f5bc907
refactor: Extract bulk download logic to custom hook (#8910)
*  (custom-handle-bulk-files-download.tsx): introduce custom hook useCustomHandleBulkFilesDownload to handle bulk file downloads in a more customized way
🔧 (index.tsx): replace direct usage of useGetDownloadFilesV2 with the new custom hook useCustomHandleBulkFilesDownload for handling bulk file downloads in a more efficient and maintainable manner

* Update src/frontend/src/customization/hooks/custom-handle-bulk-files-download.tsx

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

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-07 18:26:19 +00:00
April I. Murphy
343bdd0632
docs: Revise some content related to flow triggers, including the webhook trigger process and some /run endpoint examples. (#8880)
* typos and cosmetic edits for some api content

* webhook trigger rewrite

* build errors and coderabbit

* Update docs/docs/API-Reference/api-reference-api-examples.md

* nitpicks

* note for 1.5

* peer review
2025-07-07 16:30:27 +00:00
Mendon Kissling
746a3b6264
docs: add agent docs link from component (#8900)
* agent-docs-link

* bundle
2025-07-07 16:16:40 +00:00
Cristhian Zanforlin Lousa
e7a7d93c14
fix: Improve AppHeader layout responsiveness glitch (#8907)
* 📝 (appHeaderComponent/index.tsx): Remove unnecessary classes and adjust styling for better layout and performance.

* 🔧 (appHeaderComponent/index.tsx): update classNames to improve layout and styling of the app header component
2025-07-07 16:16:02 +00:00
Rodrigo Nader
90d9ab2f64
fix: resolve circular import in Component class (#8839)
* fix: resolve circular import in Component class

Move graph-related imports inside methods to break circular dependency chain:
- Move create_state_model import inside _build_state_model method
- Move has_chat_output import inside is_connected_to_chat_output method

This enables component testing without circular import errors that were
preventing execution of component test suites.

Fixes circular import chain:
Component -> graph.state.model -> graph.vertex -> Component

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Claude <noreply@anthropic.com>
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-07-07 16:01:28 +00:00
Gabriel Luiz Freitas Almeida
7ec3cb063d
chore(deps): update pyleak version and activate pyleak_marker in tests (#8905)
* chore: update pyleak dependency to version 0.1.14 in pyproject.toml and uv.lock

* fix(tests): enable pyleak marker in test files to address memory leak issues
2025-07-07 15:23:25 +00:00
Edwin Jose
b6e3df6b89
fix: updates Youtube Analysis template error message (#8906)
* Update Youtube Analysis.json

* fix: removed the if else

* Update Youtube Analysis.json

* Update Youtube Analysis.json

* Update src/backend/base/langflow/initial_setup/starter_projects/Youtube Analysis.json

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

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
2025-07-07 15:18:50 +00:00
Jordan Frazier
64855b2f49
fix: langwatch component initialization and some QoL (#8885)
* Fix langwatch component initialization and some QoL

* [autofix.ci] apply automated fixes

* Fix ruff and add unit tests

* [autofix.ci] apply automated fixes

* feat(langwatch): add utility for caching evaluators and refactor component to use it

* test(langwatch): add initial test file for LangWatchComponent and mock evaluator method

* fix(langwatch): use getattr for safer access to current_evaluator attribute

* test(langwatch): update cache clearing method to use utility function

---------

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-07-07 13:42:33 +00:00
Jordan Frazier
56ff3e12f6
fix: add launcher script to wrap langflow startup (#8884)
* Add launcher script to wrap langflow startup

* [autofix.ci] apply automated fixes

* Ruff

* [autofix.ci] apply automated fixes

* ruff

* [autofix.ci] apply automated fixes

* rut pusff

* [autofix.ci] apply automated fixes

* use exec instead of subprocess

* [autofix.ci] apply automated fixes

* Remove forced run addition to cli

* Integrate Typer for improved error handling in langflow launcher

---------

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-07-07 13:28:54 +00:00
Cristhian Zanforlin Lousa
db48cd38cd
refactor: Improve async handling and file clearing logic (#8835)
* fix chat image sent

* 🐛 (chat-input.tsx): fix issue where files were not being cleared immediately after sending a message
📝 (chat-input.tsx): refactor code to improve readability and maintainability by extracting filesToSend logic into a separate variable

* Delete diff_output_ts.txt

* ♻️ (chat-input.tsx): refactor code to store and restore files when sending a message to prevent losing files if an error occurs during sending.

*  (fileUploadComponent.spec.ts): update timeout values for better test reliability and performance

*  (fileUploadComponent.spec.ts): update test assertion to check for the correct attribute value to ensure accurate testing

---------

Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-07-04 20:18:04 +00:00
Cristhian Zanforlin Lousa
98c4e6ecb0
fix: Exclude text selections from flow actions in PageComponent (#8827)
fix: check for text selection on copy

Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
2025-07-04 17:20:34 +00:00
Edwin Jose
a88829a9d6
feat(api): add special handling for _mcp_servers file uploads and improve tests (#8847)
* update

* [autofix.ci] apply automated fixes

* refactor: update file query logic and enhance error logging in file deletion

* refactor: enhance error handling and improve code clarity in MCP server list retrieval

* refactor: improve type hinting and code clarity in MCP servers file tests

* fix: handle potential None value for server configuration file in async server list retrieval

* Update test_files.py

* fix: autofix.ci / Update Starter Projects (pull_request)

* chore: Add API key environment variables to CI workflows

* Updated .github/workflows/ci.yml and .github/workflows/python_test.yml to include OPENAI_API_KEY, ANTHROPIC_API_KEY, and other relevant API keys as environment variables for CI jobs.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>
Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
2025-07-04 16:20:04 +00:00
Cristhian Zanforlin Lousa
557f7b31aa
feat: Add image upload support with file path handling (#8830)
*  (data.py): introduce a new function get_file_paths to resolve file paths before creating image URLs in HumanMessage contents

*  (general-bugs-agent-images-playground.spec.ts): add test case for user to send images in the playground with the agent component

* 📝 (general-bugs-agent-images-playground.spec.ts): update file path to image file to fix test failure due to incorrect file path

* [autofix.ci] apply automated fixes

* fix: autofix.ci / Update Starter Projects (pull_request)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
2025-07-04 13:54:22 +00:00
Cristhian Zanforlin Lousa
6d99faa7d0
feat: Add menu customization with copy functionality (#8803)
* 🔧 Update .gitignore to include *.mcp.json files
 Add useMenuCustomization hook to customize JSON editor menu items
📝 Add menuUtils for filtering and enhancing JSON editor menu items
📝 Add useMenuCustomization hook for customizing JSON editor menu items

* [autofix.ci] apply automated fixes

*  (copy-button-in-output.spec.ts): add test for user to copy JSON from output in the frontend application.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-04 13:38:06 +00:00
Gabriel Luiz Freitas Almeida
09de4d1532
chore: add required API key secrets for CI workflows (#8877) 2025-07-04 09:56:52 -03:00
Mendon Kissling
aec07c3c7e
docs: quick guide for public deployment (#8712)
* initial-concat

* deploy-public-server

* docs-review

* add-required-api-key

* Apply suggestions from code review

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

* docs-review

* Apply suggestions from code review

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

* docs-review

* anchor-text

* Apply suggestions from code review

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

---------

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
2025-07-03 21:09:59 +00:00
Mendon Kissling
dd55acb7f3
docs: link components to docs pages (#8850)
* docs-links

* Update url.py

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2025-07-03 21:08:13 +00:00
Cristhian Zanforlin Lousa
78d64eb7af
feat: Add Windows build and run automation scripts (#8861)
* 🔧 (build_and_run.bat): Add a Windows batch script to build frontend, copy build files to backend, and run Langflow
🔧 (build_and_run.ps1): Add a Windows PowerShell script to build frontend, copy build files to backend, and run Langflow

* 📝 scripts/windows/build_and_run.bat: improve script messages for better clarity and consistency
📝 scripts/windows/build_and_run.ps1: update script steps numbering and messages for consistency and clarity

* 📝 (build_and_run.bat): Add attention message to wait for uvicorn to run before opening the browser
📝 (build_and_run.ps1): Add attention message to wait for uvicorn to run before opening the browser
2025-07-03 19:42:17 +00:00
Deon Sanchez
c8b9aafe56
fix: correct icon casing for MariTalk (#8863)
fix: correct icon casing for MariTalk in styleUtils.ts

Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>
2025-07-03 18:36:32 +00:00
Lucas Oliveira
1fdeefda1b
fix: enable tool mode only if a server is selected (#8865)
* Enable tool mode only if a server is selected

* Set tool mode as false when mcp server is cleared

* Added bool to build config tool show
2025-07-03 18:34:51 +00:00
Lucas Oliveira
180a94a7f3
fix: make MCP naming changes, change actions to tools (#8860)
* Changed actions to tools

* Changed connections to servers

* Added no tools found

* Changed actions to tools in mcp

* Added new label for mcp servers description

* Added better descriptions
2025-07-03 18:04:04 +00:00