Commit Graph

17173 Commits

Author SHA1 Message Date
0c8c834df3 feat: update pre-release flow to be useable for qa (#11322)
* feat: create prerelease dedicated to qa

allow prerelease versions dedicated to qa

* chore: revert lfx dep to 0.2.1

* chore: lfx pyproject version 0.2.1 for testing

* feat: use pythin script to determine rc version

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.

* [autofix.ci] apply automated fixes

* chore: change script vars to more meaningful ones

* chore: add meaningful echos

* chore: add quotes to pass empty str if no version

* test: REVERT always pass ci REVERT

* chore: add normalization to built ver tests

* chore: remove unused uv environment set up

* chore: add back in checkout code

* chore: disable caching for ensure-lfx-published

* chore: revert changes added after merge

* fix: allow prerelase python install flag

* chore: test base and main install as 1

* chore: seperate base and main

* chore: install main using local base first

* chore: try using reinstall

* chore: create locl directory and use it first

* chore: try --no-deps

* chore: langflow-*.whl

* [autofix.ci] apply automated fixes

* fix: try using unsafe-best-match

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

* fix: add a dynamic constriant for langflow base

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

* chore: revert to normal install

* fix: add pre-main option to make build

* chore: remove hyphen in make var

* chore: keep propigation wait for pre-release

* chore: revert cross-platform-test.yml changes

* chore: use else ifdef and add test echos

* chore: remove --no-soruces

* chore: use ifeq

* chore: revert lfx 0.2.1

* chore: downgrade to python 3.12

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

* chore: add else to Makefile

* chore: back to ifdef

* chore: reset to Makefile to main and add pre again

* chore: revert to python 3.13

* chore: set compatability check to 3.12

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

* [autofix.ci] apply automated fixes

* fix: new flow reset.

* chore: update LFX Determine version

* fix: remove buil-lfx dep on lfx release

* chore: remove more inputs.release_lfx if statments

* fix: uv pip install --find-links

* chore: create uv venv before uv pip install

* chire: attempt for reinatll of local whls

* fix: add OBJC_DISABLE_INITIALIZE_FORK_SAFETY: YES

add OBJC_DISABLE_INITIALIZE_FORK_SAFETY: YES to macos cross-platform test builds

* [autofix.ci] apply automated fixes

* chore: add back in ci step

* fix(ci): correctly generate pre-release rc tags

* [autofix.ci] apply automated fixes

* feat: update pre-release flow to be useable for qa

* Revert "feat: update pre-release flow to be useable for qa"

This reverts commit 22737729a2d0ed64ea774a30af070f0010cba9e1.

* feat: update pre-release flow to be useable for qa

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

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

* feat: update pre-release flow to be useable for qa

* feat: update pre-release flow to be useable for qa

* feat: update pre-release flow to be useable for qa

* [autofix.ci] apply automated fixes

---------

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>
2026-02-06 15:10:32 +00:00
cfb2a8eb1f fix: Alphabetical Sorting for "Models & Agents" Components (#11489)
* fix: make sure model and agent are alphabetically sorted

* [autofix.ci] apply automated fixes

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

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

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

---------

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>
2026-02-06 15:06:24 +00:00
4063abdc36 bug: fix for embedding model input/output handler (#11591)
* fix for embedding model input/output

* code clean up for connect other models

* [autofix.ci] apply automated fixes

* update templates

* [autofix.ci] apply automated fixes

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

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-06 12:12:35 +00:00
e601eadf9b Fix: runflow toolmode input progation (#11348)
* fix input propogation to subflow in runflow component in toolmode

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

* [autofix.ci] apply automated fixes

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

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

* [autofix.ci] apply automated fixes

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

---------

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>
2026-02-05 19:45:22 +00:00
cd2bd4f127 fix: Link visibility and 404 URL in Auto-save modal (#11476)
fix: Fix link visibility and URL in save flow modal

Co-authored-by: Viktor Avelino <64113566+viktoravelino@users.noreply.github.com>
2026-02-05 16:32:53 +00:00
126c037aa0 feat: fork branch for main (#11183)
* feat: add chat-header feature and sliding container  (#11045)

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).

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* removed changes on the tailwind config

* feat: add session management functionality (#11272)

* feat: add session management functionality

- Add session selector component
- Add session more menu component
- Add session header component
- Add session edit info hook
- Add get/add sessions hook
- Hide delete button for default session

* sync: update animated-close and simple-sidebar from pr4

* Make sidebar continue to be fullscreen after closing and opening

* [autofix.ci] apply automated fixes

* reduce max width

* Pr2 bis chat messages (#11308)

* feat: add chat messages components and infrastructure

- Add bot message component
- Add thinking message component
- Add user message component
- Add chat message wrapper component
- Add message editing functionality
- Add error message component
- Add file card wrapper
- Add message options component
- Add chat history hook
- Add thinking duration hook
- Add typing effect hook
- Add message utilities (convert files, format file name, sort messages)
- Add content block display component
- Add send message hook

* fix: remove typing animation from bot messages, show thinking immediately after user message, and use optional chaining for updateChat

* [autofix.ci] apply automated fixes

* feat: add streaming message hook and fix thinking/thought display logic

- Extract streaming logic to useStreamingMessage hook matching IOModal behavior
- Fix thinking/thought message display to use isBuilding directly from store
- Remove typing animation logic from bot messages
- Fix textarea resize to prevent growing on every keystroke with 10px threshold
- Fix ContentBlockDisplay truncate styling for tool titles
- Remove markdown bold syntax (**) from tool titles
- Fix ContentDisplay type error

* refactor: sync chat-messages from pr3 with refactored utilities

- Copy refactored chat-messages components from pr3
- Add new hooks: use-message-duration, use-tool-durations
- Add consolidated utilities: format.ts, content-blocks.ts, extract-error-message.ts
- Add Indicator icon for error messages
- Update ContentBlockDisplay to use new utilities
- Remove format-file-name.tsx (merged into format.ts)
- Update lazyIconImports to include Indicator icon

* sync: update animated-close and simple-sidebar from pr4

* Pr3 chat input (#11310)

* feat: add chat input components and improvements

- Add chat input component
- Add text area wrapper with auto-resize
- Add input wrapper component
- Add button send wrapper
- Add no-input component
- Add audio button component
- Add file preview component
- Add upload file button
- Add auto-resize text area hook
- Add audio recording hook
- Add drag and drop hook
- Update textarea UI component
- Update IOModal input wrapper
- Update constants for chat input

* feat: add file handling, UI enhancements, types, stores and dependencies

- Add file preview display component
- Add file utilities
- Add animated close component
- Add simple sidebar component
- Update sliding container with container queries support
- Update FlowPage components
- Update styles and Tailwind config
- Add chat types
- Add component types
- Add utility store types
- Add utility store
- Update package dependencies

* fix: prevent chat input from growing on every letter and make updateChat optional with proper typing

* fix: prevent chat input from growing on every letter

* fix: sync message components with PR2 (remove typing animation, fix thinking timing, use optional chaining)

* fix: sync message components with PR2 (remove typing animation, fix thinking timing, use optional chaining)

* [autofix.ci] apply automated fixes

* fix: apply message component fixes from PR2 (remove typing animation, fix thinking timing, use optional chaining)

* [autofix.ci] apply automated fixes

* fix: prevent textarea from resizing on every character by tracking previous scrollHeight

* fix: prevent textarea from resizing on every character by tracking previous scrollHeight

* fix: prevent textarea from growing on every character with 10px threshold

* fix: prevent textarea from growing on every character with 10px threshold

* Revert "fix: prevent textarea from growing on every character with 10px threshold"

This reverts commit ec3ed63fa8.

* Revert "fix: prevent textarea from growing on every character with 10px threshold"

This reverts commit 93637ae4de.

* feat: add streaming message hook and fix thinking/thought display logic

- Extract streaming logic to useStreamingMessage hook matching IOModal behavior
- Fix thinking/thought message display to use isBuilding directly from store
- Remove typing animation logic from bot messages
- Fix textarea resize to prevent growing on every keystroke with 10px threshold
- Fix ContentBlockDisplay truncate styling for tool titles
- Remove markdown bold syntax (**) from tool titles
- Fix ContentDisplay type error

* feat: add streaming message hook and fix thinking/thought display logic

- Extract streaming logic to useStreamingMessage hook matching IOModal behavior
- Fix thinking/thought message display to use isBuilding directly from store
- Remove typing animation logic from bot messages
- Fix textarea resize to prevent growing on every keystroke with 10px threshold
- Fix ContentBlockDisplay truncate styling for tool titles
- Remove markdown bold syntax (**) from tool titles
- Fix ContentDisplay type error

* fix error making the flow crashing

* resize user and bot icon and remove borders

* fix flow crash when error

* have the green duration be the sum of tool and sec part the entire thinking

* refactor: extract and consolidate chat message utilities

- Extract duration tracking logic to use-message-duration hook
- Consolidate format utilities (formatTime, formatSeconds, formatToolTitle, formatFileName) into single format.ts file
- Merge content block utilities (getContentBlockState, getContentBlockLoadingState) into content-blocks.ts
- Move component-specific logic (hasTools, shouldShowAvatar, shouldShowContentBlocks) back into components
- Move errorMarkdownComponents into error-message.tsx component
- Simplify error-message.tsx by extracting sub-components
- Add Indicator icon for error messages
- Update all imports to use consolidated utilities

* refactor: sync chat-messages and chat-input from pr4

- Copy refactored chat-messages components from pr4
- Add new hooks: use-message-duration, use-tool-durations
- Add consolidated utilities: format.ts, content-blocks.ts, extract-error-message.ts
- Add Indicator icon for error messages
- Update ContentBlockDisplay to use new utilities
- Remove format-file-name.tsx (merged into format.ts)
- Update lazyIconImports to include Indicator icon

* change duration animation

* Only allow certain file types

* feat: add file handling, UI enhancements, types, stores and dependencies (#11276)

* [autofix.ci] apply automated fixes

* feat: add clear chat option for default session in session management

- Add 'Clear chat' option to SessionMoreMenu component
- Show 'Clear chat' for default session (currentSessionId === currentFlowId)
- Show 'Delete' for other sessions (existing behavior)
- Clear chat deletes messages but keeps the session
- Delete removes the entire session
- Both options use same red color styling

* adjust radius for error message border

* show only the text An error occured

* refactor: replace Zustand with React Query for message handling

- Move all message handling logic to chat-view/utils/
- Create message-event-handler.ts to handle build events
- Create message-utils.ts for React Query cache operations
- Update buildUtils.ts to delegate message events to chat-view
- Remove MemoizedChatMessage to fix streaming updates
- Simplify use-chat-history to use session cache as single source of truth
- Support placeholder messages for immediate UI feedback
- Handle streaming tokens with proper text accumulation

* fix: improve clear chat logic to prevent double clearing

- Fix clearSessionMessages to use removeQueries instead of invalidateQueries
- Prevents refetch that brings back deleted messages
- Clear chat only works for default session, delete works for other sessions
- Handle default session messages with null session_id (legacy)

* fix padding and spacing issue on playground component

* fix: message section padding

* fix: padding

* add time persistence and build perfect timer

* [autofix.ci] apply automated fixes

* fix display time styles

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* fix: format time in seconds and fix gap between duration and message

* [autofix.ci] apply automated fixes

* fix: fetch messages in session logs modal to prevent empty display

* [autofix.ci] apply automated fixes

* fix: added gap between image and message

* fix header truncating

* fix: apply card in the background of user message in smaller view

---------

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>

* [autofix.ci] apply automated fixes

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

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

---------

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>

* fix: frontend tests

* [autofix.ci] apply automated fixes

* fix nested agents

* [autofix.ci] apply automated fixes

* Revert "fix nested agents"

This reverts commit f230c8c6dd.

* fix time on agent chain

* [autofix.ci] apply automated fixes

* fix(playground): display ChatInput default value on playground open (#11514)

* fix(playground): display ChatInput default value on playground open

* [autofix.ci] apply automated fixes

---------

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

* fix(ui): prevent layout shift when adding Chat Input with closed playground (#11531)

* fix(ui): prevent layout shift when adding Chat Input with closed playground

* fix(ui): remove unwanted import

* fix(frontend): reset playground state when navigating between flows (#11533)

reset playground state when leaving the flow

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

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

* fix(frontend): auto-close playground when all chat components are removed (#11537)

* fix(frontend): auto-close playground when all chat components are removed

* [autofix.ci] apply automated fixes

---------

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

* fix(frontend): prevent send button from being pushed off-screen in chat input (#11556)

* fix(frontend): prevent send button from being pushed off-screen in chat input

* [autofix.ci] apply automated fixes

---------

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

* fix(test): fix image upload process in chat input test

* fix(test): improve chat message verification in chat input test

* fix: add data-testID to ensure the testcases pass (#11573)

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

* feat(tests): add data-testid attributes for improved test targeting in chat header and session selector

* fix: session rename create new session instead of remaining existing one (#11576)

* fix(frontend): resolve session rename bugs and prevent message loss

* fix(playground): Fix session rename not showing messages immediately

* [autofix.ci] apply automated fixes

* fix(playground): Eliminate duplicate logic in session-selector

---------

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

* fix(test): playground test

* fix: rename session and test shard 9 (#11581)

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.

- Added renameLocalSession to ChatHeaderProps type
- Pass renameLocalSession from flow-page-sliding-container to ChatHeader
- Pass renameLocalSession to useEditSessionInfo in chat-header

* fix(frontend): prevent menu stacking and ensure proper close behavior (#11592)

* fix(frontend): prevent menu stacking and ensure proper close behavior

* [autofix.ci] apply automated fixes

---------

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

* fix: playground tests shard 13 (#11593)

* fix: update Basic Prompting test to use specific test IDs for playground combobox

* fix: skip voice assistant interaction test for review

* test: skip voice-assistant tests pending playground refactor

* fix: tests shard 16 (#11594)

* fix: update Basic Prompting test to use specific test IDs for playground combobox

* fix: skip voice assistant interaction test for review

* test: skip voice-assistant tests pending playground refactor

* fix: update Financial Report Parser and Image Sentiment Analysis tests

- Financial Report Parser: Use stop_building_button instead of button-stop
  (which doesn't exist in playground chat input), wait for it to appear
  before waiting for hidden state, and use div-chat-message instead of
  .markdown selector which was matching node descriptions

- Image Sentiment Analysis: Replace unreliable dispatchEvent("drop") with
  setInputFiles() for file upload, add proper flow completion wait, and
  use img[alt$="chain.png"] to handle server timestamp prefix

* fix(frontend): prevent duplicate session creation when renaming in non fullscreen mode (#11596)

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

* fix: tests shard 18 - Memory Chatbot and Simple Agent Memory (#11597)

Memory Chatbot:
- Replace fragile selectors (getByRole, getByLabel) with data-testid
- Use chat-header-more-menu and message-logs-option for message logs
- Replace .isVisible() with proper expect().toBeVisible() assertions
- Simplify test by removing session deletion

Simple Agent Memory:
- Add waitForSelector for input before filling
- Use stop_building_button instead of getByRole("button", { name: "Stop" })
- Use proper wait pattern: visible → hidden for build completion
- Add user message verification with chat-message-User-* test IDs
- Add wait for div-chat-message before asserting

* fix: update News Aggregator test to streamline API key handling and increase timeout (#11598)

* fix: tests shard 18 - Memory Chatbot and Simple Agent Memory

Memory Chatbot:
- Replace fragile selectors (getByRole, getByLabel) with data-testid
- Use chat-header-more-menu and message-logs-option for message logs
- Replace .isVisible() with proper expect().toBeVisible() assertions
- Simplify test by removing session deletion

Simple Agent Memory:
- Add waitForSelector for input before filling
- Use stop_building_button instead of getByRole("button", { name: "Stop" })
- Use proper wait pattern: visible → hidden for build completion
- Add user message verification with chat-message-User-* test IDs
- Add wait for div-chat-message before asserting

* fix: update News Aggregator test to streamline API key handling and increase timeout

* fix: refactor Pokedex Agent test for improved readability and consistency

* fix: update Pokedex Agent test to correctly retrieve chat message output and adjust length expectation

* fix: improve Research Translation Loop test structure and readability

* fix: enhance readability and consistency in Simple Agent Memory test

* fix: generalBugs-shard-9 test

* fix: simplify file upload handling in limit-file-size-upload test

* fix: file upload test

* fix: update chat interaction test for improved sender name handling

* fix: add data-testid attribute to hidden file input for improved test targeting

* fix: refactor test structure for improved readability and maintainability

* fix: revert upload file util

---------

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>
2026-02-05 15:48:38 +00:00
41caeb9c01 ci: use correct labeling for nightly hash update workflow step (#11492)
* Fix merging of nightly hash update to main

* Add testing flag for just merge pr

* fix'

* try conditional logic to skip jobs

* fix conditional

* checkout new branch only pull in night hash

* add hash history back

* Remove test flag

* fix conditionals
2026-02-05 15:42:05 +00:00
7be8a9ac47 build(deps-dev): bump @modelcontextprotocol/sdk from 1.25.3 to 1.26.0 in /src/frontend (#11595)
build(deps-dev): bump @modelcontextprotocol/sdk in /src/frontend

Bumps [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk) from 1.25.3 to 1.26.0.
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.25.3...v1.26.0)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.26.0
  dependency-type: indirect
...

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>
2026-02-05 14:48:41 +00:00
18805864aa feat: Add Python flow execution support for Assistant (#11553)
* add execution .py

* fix verbose error

* remove unecessary doc

* [autofix.ci] apply automated fixes

* add coderabbit suggestion and mypy fixes

* fix mypy

* add more tests to /agents related files

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-05 14:06:30 +00:00
71a61d424f fix: modal autofocus close button (#11425)
* fix: improve focus behavior in FlowLogsModal

* fix: improve focus behavior in SaveChangesModal

* refactor: extract onOpenAutoFocus handlers

* check if element exists before prevent

* [autofix.ci] apply automated fixes

---------

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>
2026-02-04 20:47:13 +00:00
52479fbe33 fix: Improve Read File and Write File storage location UX (#11589)
* advanced mode for storage

* add tests

* hide storage location

* [autofix.ci] apply automated fixes

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

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-04 18:28:35 +00:00
8300733a2b feat: add copy functionality to output modal with tooltip support (#11493)
* feat: add copy functionality to output modal with tooltip support

* [autofix.ci] apply automated fixes

* refactor: streamline OutputModal component structure and improve readability

* refactor: remove comment

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-04 17:54:26 +00:00
c4cb7607ee fix: Apply env var fallback fix to lfx module (#11584)
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:

- "User id is not set" → always raise (authentication issue)
- "variable not found." → only raise if fallback_to_env_vars=False

However, this fix was only applied to:

- src/backend/base/langflow/interface/initialize/loading.py

And was missing from:

- src/lfx/src/lfx/interface/initialize/loading.py

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

- src/lfx/src/lfx/interface/initialize/loading.py
  Fixed error handling to respect fallback_to_env_vars flag

- src/backend/tests/unit/interface/initialize/test_loading.py
  Restored "variable not found." error to properly validate the fix

Fixes: https://github.com/langflow-ai/langflow/issues/11422
Related: #9422, #9902
2026-02-04 12:37:06 +00:00
3e56245af8 fix: remove authentication check on sign up endpoint (#11560)
* Remove authentication check on sign up endpoint

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-03 23:13:43 +00:00
07fa033c92 fix: correctly handle httpexceptions in session scope (#11542)
* Correctly handle httpexceptions in session scope

* don't assume autologin

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

* [autofix.ci] apply automated fixes

* simplify conditional logic

* update comp index

* [autofix.ci] apply automated fixes

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

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-03 21:59:41 +00:00
f849047695 feat: Missing 'Disconnect' Option in Model Providers Settings (#11373)
* added disconnect styles from design

* added motion to model provider

* revert input to make sense

* styles improved

* backend fix

* removed non used import

* fixed disconnect (design suggestion)

* added tests

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

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

* updated templates

* updated templates

* re-run ci

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-03 21:25:32 +00:00
84958cf99a feat(loop): implement isolated subgraph execution for LoopComponent (#11034)
* refactor(loop): implement isolated subgraph execution for LoopComponent

- Refactor LoopComponent to execute loop body as isolated subgraph
- Add create_subgraph method to Graph class for creating isolated subgraphs
- Add loop_utils with get_loop_body_vertices helper function
- Add on_end_vertex event emission in async_start for progress tracking
- Add comprehensive tests for subgraph execution and event emission

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

* [autofix.ci] apply automated fixes

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

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

* fix: Improve subgraph event streaming to UI

- Add event types to stream token event manager (end_vertex, error, build_start, build_end)
- Preserve start_component_id in async_start for proper subgraph execution
- Fix has_chat_output/has_chat_input to use vertex.base_name instead of string matching
- Add _stream_to_playground check to allow inner graph components to send events
- Fix _send_message_event to properly extract and forward message IDs

* update index

* fix: Enhance extract_loop_output to handle multiple message formats

* [autofix.ci] apply automated fixes

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

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

* fix: Improve intra-layer cycle detection logging in sorting function

* refactor: Update loop execution to create fresh subgraph for each iteration

* test: Add tests for subgraph isolation and state management

* fix: Update LoopComponent description for clarity on item processing

* [autofix.ci] apply automated fixes

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

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

* fix: Add warning log for missing custom_component in loop item injection

* refactor: Simplify loop event tests while preserving critical coverage

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.

* fix: Update Google dependency version to 2.5.0 across multiple components

* fix: Update value format in Research Translation Loop JSON for clarity

* fix: Inject loop items into HandleInput fields via raw_params

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:
- Inject loop items into template before prepare()
- Inject into raw_params after prepare() using update_raw_params()
- Persist updated_raw_params flag across all build_params() calls
- Reset flag in _build_each_vertex_in_params_dict() after processing

Tests:
- Add integration test exercising execute_loop_body() code path
- Verify update_raw_params() called with correct data per iteration
- Add full Loop+Parser integration test
- Fix fieldName -> field_name in existing tests

* fix: Update done_output method to use internal event manager and improve event handling

* refactor: Update execute_loop_body to use async context manager for subgraph creation and cleanup

* fix: import json in unified_models.py

* feat: Implement subgraph tracing context management

* fix: Update code_hash and improve loop component execution logic

* fix: Update code_hash and refine LoopComponent execution logic

* [autofix.ci] apply automated fixes

* fix: Update LoopComponent subgraph execution to set event manager as instance attribute

* test: Enhance subgraph execution tests to verify event manager passing

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-03 19:58:44 +00:00
47728f5816 fix: add Language Model components to Basic Prompt Chaining.json in starter_projects (#11567)
fix: add LM components to starter_projects in BPC

add Language Model components to Basic Prompt Chaining,json in starter_projects
2026-02-03 19:35:53 +00:00
a24409e6bc test: Fix race condition in rename flow test (#11549) 2026-02-03 07:26:23 -03:00
732cf45979 bug: unable to use Other Model for 'Language Model' in Agent Component (#11506)
* fixed import issue on model provider

* addressed commments

---------

Co-authored-by: keval shah <kevalvirat@gmail.com>
2026-02-02 18:52:09 +00:00
947f28cc4d feat: add Gemini 3 models (#11393)
* Update Google and Vertex AI docs, starter projects, and Blog Writer component

Expanded documentation for Google Generative AI and Vertex AI components to include Gemini 1.5, 2.0, 2.5, and 3.0 series models. Updated several starter project JSONs to improve model config logic. Refactored the Blog Writer's URLComponent to remove the 'markitdown' dependency and Markdown output option, now supporting only 'Text' and 'HTML' formats. Adjusted dependency metadata accordingly.

* [autofix.ci] apply automated fixes

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

* [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>
2026-02-02 13:52:01 +00:00
ed120f5a38 feat: Implement initial Langflow Assistant API with streaming support (#11374)
* add agentic api backend

* [autofix.ci] apply automated fixes

* add docs to feature

* ruff and test fixes

* ruff fixes

* fix lfx tests

* fix ruff style

* [autofix.ci] apply automated fixes

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

* refactor code improvements

* add rate limit to tests

* [autofix.ci] apply automated fixes

* new canvas control

* add flow lock timeout

* [autofix.ci] apply automated fixes

* add more shards on pw tests

* Revert "new canvas control"

This reverts commit 9a266432b3.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2026-02-02 13:40:57 +00:00
2d67402b1d feat: Job execution status endpoint, status tracking, DB models (#11438)
* Features: job status table with related DB model, migration files, job status tracking.

Added status wrapper to handle job status updates in the DB.

Added filtration using job_id to fetch job status responses.

fix: Generate job response from vertex builds history by job id.  (#11457)

* feat: reconstruct workflow execution response from vertex_build by job_id

* [autofix.ci] apply automated fixes

* fix: use correct attribute name 'id' instead of 'vertex_id' in VertexBuildTable

* Updated the GET endpoint to return WorkflowExecutionResponse

---------

Co-authored-by: Janardan S Kavia <janardanskavia@Janardans-MacBook-Pro.local>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

Added /stop endpoint, task handling, job_id typing through job_service, job_status updates.

Consolidated migration files into one single migration.

* [autofix.ci] apply automated fixes

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

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

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-31 02:15:01 +00:00
2f4b7d6b2e fix: Add max_token param in ModelInput (#11464)
* add max_tokens param

* [autofix.ci] apply automated fixes

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

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

* update starter projects

* [autofix.ci] apply automated fixes

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

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

* update agent component

* update starter projects

* fix ruff errors

* [autofix.ci] apply automated fixes

* fix tests

* resolve conflicts

* [autofix.ci] apply automated fixes

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

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

* [autofix.ci] apply automated fixes

* handle integer values

* [autofix.ci] apply automated fixes

* fix max_token valdiation

* [autofix.ci] apply automated fixes

* fix tests

* build component index

* handle none

* fix agent tests

* [autofix.ci] apply automated fixes

* handle empty input

* update starter projects

* fix null

* fix conflicts

* [autofix.ci] apply automated fixes

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

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

* fix tets

* fix ruff errors

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-30 23:35:55 +00:00
2d99b13cd8 fix: Placeholder text overlap with suffix icon in Template input field (#11487)
fix: palceholder

Co-authored-by: Olayinka Adelakun <olayinkaadelakun@Olayinkas-MacBook-Pro.local>
2026-01-30 21:18:44 +00:00
6f9de60dda fix: Add IBM WatsonX URL and Project ID fields to Agent component (#11478)
* fix: Add IBM WatsonX URL and Project ID fields to Agent component

The Agent component was missing the IBM WatsonX-specific configuration
fields (watsonx API Endpoint and Project ID) that are required for
WatsonX models. This caused validation errors when using WatsonX models
with the Agent.

Changes:
- Add DropdownInput for watsonx API Endpoint (base_url_ibm_watsonx)
- Add StrInput for watsonx Project ID (project_id)
- Pass watsonx_url and watsonx_project_id to get_llm() call
- Add dynamic show/hide logic in update_build_config() for WatsonX fields

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

* test: Add unit tests for IBM WatsonX support in Agent component

* [autofix.ci] apply automated fixes

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

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

* fix(tests): Use underscore for unused lambda argument to pass lint

* [autofix.ci] apply automated fixes

* fix agent component

* [autofix.ci] apply automated fixes

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

* [autofix.ci] apply automated fixes

---------

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: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com>
Co-authored-by: himavarshagoutham <himavarshajan17@gmail.com>
2026-01-30 20:29:41 +00:00
39a276d96d feat: Allow renaming and deleting the Starter Project folder (#11462)
* feat: Allow renaming and deleting the Starter Project folder

* feat: Ensure flows always have a valid folder_id and add tests for folder integrity

* refactor: remove obsolete test file for folder utility functions

* fix: remove unused variable

* fix: enhance folder handling in flow creation process
2026-01-30 19:57:43 +00:00
2924ef1200 fix: Playwright shard 38 flakiness - correct selectors and timeouts (#11504)
* fix: Playwright shard 38 flakiness - correct selectors and timeouts

- minimize.spec.ts: fix invalid waitForSelector CSS (data-testid=... -> [data-testid="..."]), add blank-flow wait, increase timeouts for CI
- mcp-server.spec.ts: increase timeouts (10s -> 30s) for external MCP server tests (Streamable HTTP, SSE deepwiki) to reduce CI flakiness

* [autofix.ci] apply automated fixes

* comment sse test for now

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Viktor Avelino <viktor.avelino@gmail.com>
2026-01-30 19:44:20 +00:00
bf29a0aa06 fix(inputs): default IntInput to 0 (#11454)
* fix(inputs): default IntInput to 0

* change value type to Any to prevent premature validation errors from component code"
2026-01-30 18:17:28 +00:00
c20918fe32 fix: improve model process logic for conditional router (#11429)
* fix: improve model process logic

* [autofix.ci] apply automated fixes

* test: add unit tests for SmartRouterComponent categorization logic

* fix(tests): Update test to verify dynamic loading of options in CurrentDateComponent schema

* revert test

* [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: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com>
2026-01-29 19:23:54 +00:00
083e5fbfc5 fix: Remove redundant component_id and metadata fields from workflow execution response structure. (#11474)
* fix:Remove redundant component_id and metadata fields from workflow schema

* fix: Return JSON for workflow API 404 errors instead of HTML

* [autofix.ci] apply automated fixes

* fix:Use only componentId as output keys

* [autofix.ci] apply automated fixes

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

---------

Co-authored-by: Janardan S Kavia <janardanskavia@Janardans-MacBook-Pro.local>
Co-authored-by: Janardan S Kavia <janardanskavia@mac.war.can.ibm.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-29 17:59:32 +00:00
abd805067a fix: prompt component display names and code of starter templates (#11466)
* fix: prompt component display names and code structure across multiple starter projects

* fix: update test selector for button_run_prompt to include template

* try fix tests

* test: try fix
2026-01-29 15:42:11 +00:00
f7845cc315 Fix: Saving Custom Component Resets Tool Actions (#11421)
* fix: validating and updating a dynamic component's code in the Langflow UI

* fix: code overide

---------

Co-authored-by: Olayinka Adelakun <olayinkaadelakun@mac.war.can.ibm.com>
Co-authored-by: Olayinka Adelakun <olayinkaadelakun@Olayinkas-MacBook-Pro.local>
2026-01-29 14:07:10 +00:00
13c002192f fix(tests): Add missing SECRET_KEY mock to API key source tests (#11486)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-29 09:53:08 -03:00
b757c303ce fix: 1.8.0 security fixes (#11449)
* fix: 1.7.3 vulnerability patch for main

Steps
1. supposedely non-breaking pypi and dockerfile changes for many security vulnerabilities
3. npm audit fix --force
4. install offical nodejs tarball
5. update playwright version
6. dynamically set latest node 22 version
7. dynamically set arch
8. add glob and tar overrides
9. "setuptools>=80.0.0,<81.0.0"
10. jaraco-context specifier = ">=6.1.0"
11. "test-exclude": "^7.0.0"
12. pin wheel version

* fix: update locks after porting changes from 1.7.3

update locks after porting changes from 1.7.3

* chore: upgrade package-lock

* chore: upgrade uv.lock files

* fix: upgrade to fastmcp 2.14.4

* fix: update tar to 7.5.7
2026-01-28 18:17:10 +00:00
ed675ea478 refactor: Standardize model name extraction with helper function and tests (#11352)
* add valitador to agent model

* [autofix.ci] apply automated fixes

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

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

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

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

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-28 17:52:52 +00:00
b89bd76e22 fix: Encrypt API KEY (#11335)
* fix: encrypt api key

* fix: remove unnecessary if condition

* fix: remove unnecessary if condition

* [autofix.ci] apply automated fixes

* fix: added better exception laballing

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* improve functions and clean up

* improve functions and clean up

* improve functions and clean up

* fix: add benchmark test for large api_key set

* Revert "fix: add benchmark test for large api_key set"

This reverts commit 4e86d04df0.

* fix: add benchmark test for large api_key set

* fix: use real DB for better simulated testing

* [autofix.ci] apply automated fixes

* fix testcases

* fix testcases

* fix testcases

* fix testcases

* fix testcases

* fix ruff

* improved space complexity by adding dependency injection

* this fix helps ensure that testcases don't have to use api_key that start with sk-

* fix: update testcase

---------

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>
Co-authored-by: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com>
2026-01-28 17:41:35 +00:00
554bfc7651 style: Remove truncate utility from primary-input class (#11371)
remove truncate to safari compatibility
2026-01-28 17:31:36 +00:00
6dfd90b337 fix: clicking MCP Server button logs users out automatically (#11448)
* fixed race condition for login on auto

* add tests to prevent race error condition to occur

* [autofix.ci] apply automated fixes

---------

Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-28 17:09:10 +00:00
b474968366 docs: improve custom components deployment and organization guide (#11450)
* docs: improve Docker custom components deployment guide

* docs: improve custom components folder organization

* docs: remove brackets around Bundles

---------

Co-authored-by: Antônio Alexandre Borges Lima <antonio@Antonios-MacBook-Pro.local>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
2026-01-28 15:08:36 +00:00
ddac7ea3ed fix: make sure to keep table outputs when changing provider (#11426)
* fix: make sure to keep table outputs when changing provider

* [autofix.ci] apply automated fixes

* fix: enable real-time refresh for Else output option in SmartRouterComponent

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com>
2026-01-28 14:11:37 +00:00
4b056b4a4b fix: Validate complex mustache syntax during Check & Save (#11461)
Add validation for complex mustache patterns (sections, conditionals,
    partials, etc.) in the validate_prompt function when using mustache mode.
    Previously, syntactically valid but unsupported patterns like
    {{#section}}{{/section}} were accepted during save but caused runtime
    errors with "Complex mustache syntax is not allowed".

    Now the same validation that runs at runtime also runs during the
    Check & Save phase, providing immediate feedback to users.
2026-01-27 19:05:55 +00:00
a097b685fd ci: add hash history script to nightly workflow (#11409)
* Add nightly hash history script to nightly workflow

* [autofix.ci] apply automated fixes

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

* Add lfx-nightly to script

* Handle first run

* Try fixing version on nightly hash history

* remove lfx lockfile since it does not exist

* Get full version in build, handle the [extras] in pyprojects

* [autofix.ci] apply automated fixes

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

* language update

* Handle extras in langflow-base dependency in all workflows

* [autofix.ci] apply automated fixes

* Fix import in lfx status response

* [autofix.ci] apply automated fixes

* Use built artifact for jobs, remove wait period

* use [complete] when building test cli job

* skip slack message added to success

* Update merge hash histry job to only run when ref is main

* Updates pyproject naming to add nightly suffix

* [autofix.ci] apply automated fixes

* Fix ordering of lfx imports'

* [autofix.ci] apply automated fixes

* Ah, ignore auto-import fixes by ruff

* [autofix.ci] apply automated fixes

* update test to look at _all_ exported instead

* [autofix.ci] apply automated fixes

* perf: Limit enum options in tool schemas to reduce token usage (#11370)

* fix current date tokens usage

* Update src/lfx/src/lfx/io/schema.py

* remove comment

---------

Co-authored-by: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com>

* update date test to reflect changes to lfx

* ruff

* [autofix.ci] apply automated fixes

---------

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: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com>
2026-01-27 16:27:59 +00:00
f0dec81207 chore(deps): Mark peer dependencies and bump lodash-es (#11441)
update lodash with audit fix
2026-01-26 21:15:30 +00:00
d7f81cbf55 perf: Limit enum options in tool schemas to reduce token usage (#11370)
* fix current date tokens usage

* Update src/lfx/src/lfx/io/schema.py

* remove comment

---------

Co-authored-by: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com>
2026-01-26 20:59:37 +00:00
1529f56bf4 fix: Connection connects to arbitrary field on minimized components with collapsed inputs (#11423)
* fix: only render primary input handle when node is minimized to prevent wrong connections

* chore: formatting fixes

* [autofix.ci] apply automated fixes

---------

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>
2026-01-26 17:28:10 +00:00
1dbc811af2 fix: Make sure we respect static model settings (#11220)
* fix: Make sure we respect static model settings

* [autofix.ci] apply automated fixes

* Update component_index.json

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
2026-01-26 17:04:54 +00:00
1d82026c60 chore(docker): Upgrade Node.js from 18 to 20 LTS (#11442) 2026-01-26 11:47:28 -03:00
658666b38f feat(api): Add real-time SSE support for webhook flow execution (#11028)
* add webhook ux improvement

* revert starter_prjects

* improve code quality

* test(webhook): add delay to test for background task completion after valid API key request to ensure accurate file existence assertion

* style(endpoints.py): reorder import statements for better organization and remove unnecessary whitespace
style(test_webhook.py): remove extra blank line to adhere to PEP 8 style guidelines

* fix: regenerate package-lock.json to fix npm ci sync issue

* [autofix.ci] apply automated fixes

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

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

* restore lock

* rollback changes

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* refactor for good pratices

* improve tests perf

* [autofix.ci] apply automated fixes

* fix sse events frontend

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

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

* add output sse event

* [autofix.ci] apply automated fixes

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

* mypy fixes

* remove noisy debug logs

* remove sse when we have no webhook on canvas

* add get lock for CI improvement

* [autofix.ci] apply automated fixes

* fix tests loading

* fix flasky test py

* ruff style and check

* test: skip flaky test on CI due to resource exhaustion

---------

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>
2026-01-26 12:39:12 +00:00
2bd1ec5cd7 Docs: Correct the capitalization of Astra DB Serverless (vector) database (#11434)
capitalization of Astra DB vector
2026-01-23 21:51:49 +00:00