feat: update opensearch component with raw search component by edwinjosechittilappilly · Pull Request #11491 · langflow-ai/langflow (original) (raw)


Co-authored-by: keval shah kevalvirat@gmail.com

fix: add LM components to starter_projects in BPC

add Language Model components to Basic Prompt Chaining,json in starter_projects

This change enables proper vertex event streaming during loop execution by running each iteration as an isolated subgraph with its own context.

Reduced test complexity by removing excessive mocking while maintaining completeå event manager propagation coverage. Event manager tests are critical for ensuring UI updates work correctly during loop execution.

HandleInput fields (type="other") were receiving None instead of loop items because:

  1. Fields with type="other" are skipped during field param processing
  2. Loop->Parser edge is filtered out in subgraph creation
  3. updated_raw_params flag was reset too early by multiple build_params() calls

Fix:

Tests:


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

for distributed envs, diff backends may have diff autologin settings, so don't assume config


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

Applies the fix from PR #9422 (commit 18e2ff2d2d) to the lfx module, which was previously only applied to the backend module.

PR #9422 fixed a bug where environment variable fallback would fail when load_from_db=True inputs couldn't find variables in the database.

The fix properly distinguishes between two error cases:

However, this fix was only applied to:

And was missing from:

PR #9902 added table field support and reorganized the test imports to use the lfx module (which has table support). The test was updated to use "Database connection failed" error message to work with the existing code, rather than "variable not found." which would trigger the bug.

This commit:

  1. Applies the bug fix to the lfx module's regular field handler
  2. Restores the original test behavior using "variable not found." to properly validate that the fix works

Fixes: https://github.com/langflow-ai/langflow/issues/11422 Related: #9422, #9902


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@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>


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

build(deps-dev): bump @modelcontextprotocol/sdk in /src/frontend

Bumps @modelcontextprotocol/sdk from 1.25.3 to 1.26.0.


updated-dependencies:

Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gabriel Luiz Freitas Almeida gabriel@logspace.ai

Add sliding playground layout (SimpleSidebar + sliding container + store) and toolbar button integration to open it directly + chat header/session components and hooks (SessionSelector, SessionRename, ChatHeaderTitle, use-get-flow-id, playgroundStore).

This reverts commit ec3ed63fa8638a4b5d1777576aa7b4736e03c237.

This reverts commit 93637ae4de873af2f89424d536459fda13b0f67f.


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Olfa Maslah olfamaslah@Olfas-MacBook-Pro.local Co-authored-by: Lucas Oliveira 62335616+lucaseduoli@users.noreply.github.com Co-authored-by: Keval718 kevalvirat@gmail.com Co-authored-by: cristhianzl cristhian.lousa@gmail.com Co-authored-by: Lucas Oliveira lucas.edu.oli@hotmail.com


Co-authored-by: Olfa Maslah olfamaslah@Olfas-MacBook-Pro.local Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Lucas Oliveira 62335616+lucaseduoli@users.noreply.github.com Co-authored-by: Lucas Oliveira lucas.edu.oli@hotmail.com Co-authored-by: Keval718 kevalvirat@gmail.com Co-authored-by: cristhianzl cristhian.lousa@gmail.com


Co-authored-by: Olfa Maslah olfamaslah@Olfas-MacBook-Pro.local Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Lucas Oliveira 62335616+lucaseduoli@users.noreply.github.com Co-authored-by: Lucas Oliveira lucas.edu.oli@hotmail.com Co-authored-by: Keval718 kevalvirat@gmail.com Co-authored-by: cristhianzl cristhian.lousa@gmail.com


Co-authored-by: Olfa Maslah olfamaslah@Olfas-MacBook-Pro.local Co-authored-by: Lucas Oliveira 62335616+lucaseduoli@users.noreply.github.com Co-authored-by: Lucas Oliveira lucas.edu.oli@hotmail.com Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Keval718 kevalvirat@gmail.com Co-authored-by: cristhianzl cristhian.lousa@gmail.com

This reverts commit f230c8c6dd25a88b47739f8a83c0c8296f24778c.


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

reset playground state when leaving the flow

fix(frontend): prevent Message Logs table from dropping columns with falsy values


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

Co-authored-by: Olayinka Adelakun olayinkaadelakun@mac.war.can.ibm.com


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

fix: pass renameLocalSession to ChatHeader to fix session rename creating new session

The session rename from the chat header's more menu was creating a new session instead of renaming the existing one. This was because renameLocalSession was not being passed to useEditSessionInfo in chat-header.tsx.


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

fix(frontend): prevent duplicate session creation when renaming in non-fullscreen mode

Memory Chatbot:

Simple Agent Memory:

Memory Chatbot:

Simple Agent Memory:


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: keval shah kevalvirat@gmail.com Co-authored-by: Olfa Maslah olfamaslah@Olfas-MacBook-Pro.local Co-authored-by: Lucas Oliveira 62335616+lucaseduoli@users.noreply.github.com Co-authored-by: cristhianzl cristhian.lousa@gmail.com Co-authored-by: Viktor Avelino viktor.avelino@gmail.com Co-authored-by: olayinkaadelakun olayinka.adelakun@ibm.com Co-authored-by: Olayinka Adelakun olayinkaadelakun@mac.war.can.ibm.com Co-authored-by: Viktor Avelino 64113566+viktoravelino@users.noreply.github.com

fix: Fix link visibility and URL in save flow modal

Co-authored-by: Viktor Avelino 64113566+viktoravelino@users.noreply.github.com

refactor runflow

remove print calls

allow Data inputs and refactoring of runflow component with updated tests

misc

misc

persist tweaks in multi-input scenario

add regression tests

chore: update component index

ruff (tests)

checkout component index from main

chore: update component index

obfuscate error message

chore: update component index

chore: update component index


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.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>


Co-authored-by: Olayinka Adelakun olayinkaadelakun@Olayinkas-MacBook-Pro.local Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Olayinka Adelakun olayinkaadelakun@mac.war.can.ibm.com

allow prerelease versions dedicated to qa

use a python script to auto incremenet rc version so we do not have to manually maintain what rc version we are on. add it to both release.yml and docker-build-v2.yml for pypi, docker and ghrc.

use ./local-packages --index-strategy unsafe-best-match

add a dynamic constriant for langflow base during build-main. if this works I will need to go back and remove any unneeded cross-platform test changes

ragstack-ai-knowledge-store does not support pythong 3.13

hopeffuly fixes Found 1 incompatibility The package ragstack-ai-knowledge-store requires Python >=3.9, <3.13, but 3.13.11 is installed

add OBJC_DISABLE_INITIALIZE_FORK_SAFETY: YES to macos cross-platform test builds

This reverts commit 22737729a2d0ed64ea774a30af070f0010cba9e1.


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: vijay kumar katuri vijaykaturi@vijays-MacBook-Air.local Co-authored-by: vijay kumar katuri vijay.katuri@ibm.com

Co-authored-by: Adam-Aghili 149833988+Adam-Aghili@users.noreply.github.com


Co-authored-by: Adam-Aghili 149833988+Adam-Aghili@users.noreply.github.com

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

This reverts commit acf21900017ad2b459340c73becde06a894adf83.


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Cristhian Zanforlin Lousa cristhian.lousa@gmail.com Co-authored-by: Olfa Maslah olfamaslah@Olfas-MacBook-Pro.local Co-authored-by: Rodrigo Nader rodrigonader@Mac.localdomain Co-authored-by: Claude Opus 4.5 noreply@anthropic.com

Add LLM-based guardrails component for detecting PII, tokens/passwords, jailbreak attempts, and custom guardrail rules, along with comprehensive unit tests.


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Viktor Avelino viktor.avelino@gmail.com Co-authored-by: Viktor Avelino 64113566+viktoravelino@users.noreply.github.com


Co-authored-by: Olayinka Adelakun olayinkaadelakun@Olayinkas-MacBook-Pro.local Co-authored-by: Carlos Coelho 80289056+carlosrcoelho@users.noreply.github.com Co-authored-by: Olayinka Adelakun olayinkaadelakun@mac.war.can.ibm.com

During rebase, the teardown method was added in two locations (lines 57 and 220). Removed the duplicate at line 57, keeping the one at the end of the class (line 220) which is the more appropriate location for cleanup methods.

These changes fix test failures caused by LocalStorageService requiring session_service and settings_service parameters instead of just data_dir.

This refactor enhances the clarity and maintainability of the authentication logic.

These additions improve the reliability and maintainability of the authentication system.

These changes improve the accuracy and maintainability of the authentication tests.

Co-authored-by: ogabrielluiz 24829397+ogabrielluiz@users.noreply.github.com Co-authored-by: copilot-swe-agent[bot] 198982749+Copilot@users.noreply.github.com

After the pluggable auth refactor, encrypt_api_key and decrypt_api_key no longer take a settings_service argument - they get it internally.

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> 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> Co-authored-by: Mike Pawlowski mike.pawlowski@datastax.com Co-authored-by: Mike Pawlowski mpawlow@ca.ibm.com Co-authored-by: Himavarsha 40851462+HimavarshaVS@users.noreply.github.com Co-authored-by: Copilot 198982749+Copilot@users.noreply.github.com Co-authored-by: ogabrielluiz 24829397+ogabrielluiz@users.noreply.github.com Co-authored-by: himavarshagoutham himavarshajan17@gmail.com Co-authored-by: Deon Sanchez 69873175+deon-sanchez@users.noreply.github.com 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>

feat: update GitHub Actions workflow to allow manual branch selection for docs deployment

Older Ollama versions don't return the capabilities field from /api/show. The previous code defaulted to an empty list and required "completion" capability, filtering out all models.

Now we treat missing capabilities as backwards-compatible: assume the model supports completion unless tool_model_enabled is True (where we can't verify tool support without the capabilities field).

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

Add tests for get_models handling of missing capabilities field:

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com


Co-authored-by: Claude Opus 4.5 noreply@anthropic.com Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>


Co-authored-by: Hamza Rashid 74062092+HzaRashid@users.noreply.github.com

Before adding a knn_vector field mapping, check the index properties and skip updating if the field already exists (and warn if dimensions differ). Attempt to add the mapping only when missing, and catch failures from the OpenSearch k-NN plugin (e.g. NullPointerException); in that known case log a warning and skip the mapping update instead of failing hard. After adding, verify the field is mapped as knn_vector and raise an error if it is not. Also adjusts logging messages to be clearer.


Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

Add smart_column_order() method to DataFrame that prioritizes content columns (text, content, output, etc.) and de-prioritizes system metadata columns (timestamp, sender, session_id, etc.). Add Clean Output boolean input to Split Text component that strips metadata columns by default.