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