mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 11:13:10 +08:00
6652d3f71dfd6c8d49a34ee1fd2d59bb1b106cd9
17271 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 6652d3f71d |
feat: generate requirements.txt from dependencies (#11810) (#12087)
* Base script to generate requirements Dymanically picks dependency for LanguageM Comp. Requires separate change to remove eager loading. * Lazy load imports for language model component Ensures that only the necessary dependencies are required. For example, if OpenAI provider is used, it will now only import langchain_openai, rather than requiring langchain_anthropic, langchain_ibm, etc. * Add backwards-compat functions * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Add exception handling * Add CLI command to create reqs * correctly exclude langchain imports * Add versions to reqs * dynamically resolve provider imports for language model comp * Lazy load imports for reqs, some ruff fixes * Add dynamic resolves for embedding model comp * Add install hints * Add missing provider tests; add warnings in reqs script * Add a few warnings and fix install hint * update comments add logging * Package hints, warnings, comments, tests * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * Add alias for watsonx * Fix anthropic for basic prompt, azure mapping * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * ruff * [autofix.ci] apply automated fixes * test formatting * ruff * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| d43bf3f588 |
Docs: 1.8 release (#11295)
* langflow-webhook-auth-enable
* add-not-contains-filter-operator
* does-not-contains-operator
* less-redundant-explanation
* docs: add jq and path selection to data operations (#10083)
add-jq-and-path-to-data-operations
* smart transform historical names
* change back to smart transform
* jq expression capitalization/package name
* small edit for clarity of not contains operator
* read/write file component name changes
* docs: add smart router component (#10097)
* init
* add-to-release-notes
* remove-dynamic-output-as-parameter
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: screenshot audit (#10166)
* remove-unused
* agent-examples
* main-ui-screenshots
* components-screenshots
* combine-web-search-components
* simple-agent-flow-in-playground
* round-screenshots
* my-projects
* combine-data-components
* docs: component paths updates for lfx (#10130)
* contributing-bundles-path
* api-monitor-example
* concepts-components-page
* contribute-components-path
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: auto-add projects as MCP servers (#10096)
* add-mcp-auto-auth-as-default-behavior
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
* docs: amazon bedrock converse (#10289)
* use-bedrock-converse
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Update docs/docs/Components/bundles-amazon.mdx
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs 1.7 release: add mock data component (#10288)
* add-component-and-release-note
* Apply suggestion from @aimurphy
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: update custom component docs (#10323)
* add-partial
* update-lfx-component-paths
* move-partial
* completed-quickstart
* clean up intro
* try-docker-with-custom-mount
* up-to-typed-annotations
* typed-annotations
* dynamic-fields
* end-of-file
* bundles-naming
* chore: update component index
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* docs: add cometapi back for 1.7 release (#10445)
* add-comet-bundle-back-for-1.7
* add-comet-to-release-notes
* docs: add back docling remote vlm for release 1.7 (#10489)
* add-back-docling-vlm-content
* add-release-note
* docs: ALTK component (#10511)
* broken-anchor
* sidebar-and-page
* add-release-note
* add-context-on-output
* docs: SSRF warning (#10573)
* add-ssrf-protection-env-var
* api-request-component
* Update docs/docs/Components/components-data.mdx
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* move-note-to-table
* release-note
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: dynamic create data component (#10517)
* add-dynamic-create-data-component-and-release-note
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* clarify-message-types
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: cuga component bundle (#10589)
* initlal-content
* cuga-specific-component-connections
* cleanup
* use-the-same-name
* add-lite-mode-remove-api-flag-and-mode
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* public-or-private-internet
* agent-doesnt-check-urls
* peer-review
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: remove docling vlm component from 1.7 release branch (#10630)
remove-vlm-component
* docs: rename component categories and make all components single pages (#10648)
* docs: OpenAPI spec version upgraded from 1.6.5 to 1.6.8 (#10627)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
* up to models and agents
* sidebars
* fix-broken-links
* chore: Fix indentation on bundles-docling.mdx (#10640)
* sidebars
* redo-intros
* link-to-models
* data-components
* files-components-no-kb
* io-components
* helper-utility-components
* llm-ops-components
* logic-components
* processing-pages
* sidebars
* combine-legacy-components-into-one-page
* update-links
* remove-overview-pages-and-redirect
* make-mcp-tools-page
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* no-cap
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: combined web search component (#10664)
* combine-pages
* remove-rss-and-news-search-and-update-links
* remove-vlm-link
* leave-old-release-note-but-remove-link
* docs: add altk reflection component (#10660)
* add-new-component
* differentiate-components
* docs: mcp streamable http client (#10621)
* release note
* mcp-client-changes
* update-astra-example
* icons-and-copy
* order-of-names
* docs: add cuga decomposition strategy as advanced parameter (#10672)
* update-component-link
* init
* add-decomp-as-advanced-param
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* update-component-index
* [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>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: datastax bundles page (#10686)
* init
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: llm router changed to llm selector (#10663)
* update-component-name
* previous-name-and-release-note
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
* docs: log alembic to stdout (#10711)
* docs-alembic-log-env-var
* cleanup
* remove-legacy-component-link
* docs: configure s3 for file storage backend (#10678)
* configure-file-storage-s3
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* clarify-s3-credentials
* add-storage-tags-and-cleanup-creds-seciton
* role-link-name
* fix-parse-error
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: allow rest tweaks to mcp tools component (#10833)
* typo
* tweak-mcp-tools-component
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* add-release-note
* docs: use mustache templates in prompts (#11262)
* mustache-templating
* syntax
* release-note
* peer-review
* docs: smart transform supports Message type (#11306)
* component-supports-message-type
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* peer-review
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: modular dependency imports for langflow-base (#11250)
* modular-base-dependencies
* syntax-and-clarification
* release-note
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* [autofix.ci] apply automated fixes
* clarify-base-and-langflow
* component-index
* delete-component-index
* [autofix.ci] apply automated fixes
* set-agentic-experience
* potential-breaking-changes
* not-audio-package
* cleanup-and-syntax
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* docs: symmetric and asymmetric JWT (#11159)
* initial-content
* cleanup
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* [autofix.ci] apply automated fixes
* docs-peer-review
* [autofix.ci] apply automated fixes
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* docs: add markdown output to url component (#11336)
* add-markdown-output-format
* raw-content
* Apply suggestions from code review
* docs: Add global variable support for MCP server headers (#11397)
* add-global-var-in-mcp-headers
* revert-curl-syntax-change
* remove-duplicate-tab
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* remove-code-block
* add-release-note
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* Update docs/docs/Develop/install-custom-dependencies.mdx
* Update docs/docs/Develop/jwt-authentication.mdx
* docs: global model provider feature (#11231)
* initial-changes-to-model-providers
* add-icon-for-model-partial
* syntax
* adding-custom-language-model
* release-note
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* peer-review
* use-anthropic-model-with-agent
* [autofix.ci] apply automated fixes
* design-changes
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* mustache-limitations
* release-note-for-jwt
* docs: playground refactor and screenshots (#11639)
* screenshots
* new-playground-and-icon
* release-note
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* docs: component inspection panel (#11675)
* docs-component-inspection-panel
* cleanup
* docs: add tool shortlisting and remove web_apps from CUGA component (#11669)
docs-add-shortlist-tools-and-remove-webapps-parameters
* fix-details-tab-error
* docs: workflow API draft build (#11323)
* delete-unused-yaml-file
* initial-content
* add-python-and-ts-to-example-requests
* separate-pages
* test-spec-presentation
* hide-async-and-make-workflows-plural
* fix-broken-link
* add-changes-to-async
* use-workflow-spec-from-sdk-build
* make-setup-partial
* add-fetch-script-for-openapi-spec
* update-workflows-spec
* remove-stream-for-now
* remove-reconnect-to-stream
* consolidate-pages
* remove-force-boolean
* [autofix.ci] apply automated fixes
* docs: add guardrails component (#11674)
* docs-add-guardrails-component
* cleanup
* example-and-heuristic-check
* Apply suggestions from code review
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
* [autofix.ci] apply automated fixes
* add-note-about-llm
* add-release-note
---------
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* docs: pass env var to run command and endpoint as header (#11447)
* pass-env-var-to-lfx
* add-env-var-passing-to-run-endpoint
* add-python-and-js-commands
* docs: responses api token usage tracking (#11564)
* initlal-content
* add-release-note
* changes-for-accessing-advanced-parameters
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* small-playground-changes
* [autofix.ci] apply automated fixes
* Revert "docs: OpenAPI spec content updated without version change (#11787)"
This reverts commit
|
|||
| 4fa9cd3b28 |
chore: fix model attribute accessor (#11976)
* log errors in production even with dev; surpress model attribute warnings * revert logger changes |
|||
| 76b5b49e7a | tests: Add soft content on flaky test (#12081) | |||
| ed199d99e1 |
feat: add basic types and database accessors for wxo integration (#12011)
* Add basic deployment persistence migrations and types * ruff * Rename db fields * Encryption updates, alembic ids, schema relationships Critical Issues Fixed 1. is_encrypted removed — update_provider_account now always encrypts, matching create_provider_account. No more heuristic that could store plaintext keys. 2. Proper Alembic revision IDs — a1b2c3d4e5f6 → 8106300be7aa, c3d4e5f6a7b8 → 2a5defa5ddc0 (randomly generated). 3. Folder ↔ Deployment relationship — Added folder on Deployment and deployments on Folder with "all, delete, delete-orphan" cascade. Important Issues Fixed 4. Schema layering — Added DeploymentRead, DeploymentProviderAccountCreate, DeploymentProviderAccountRead (no api_key!), DeploymentProviderAccountUpdate. 5. Cascade config — DeploymentProviderAccount.deployments now uses "all, delete, delete-orphan" (matching Folder.flows pattern). 6. UUID validation standardized — Both CRUDs now use _parse_uuid() that raises ValueError with context (field name + value). No moent return None/return 0 on bad input. 7. encrypt_api_key error context — Wrapped in try/except raising RuntimeError with clear message about encryption config. Suggestions Fixed 8. Field validators — name, resource_key (Deployment) and provider_key, provider_url (DeploymentProviderAccount) now validated non-empty with .strip(). 9. (provider_account_id, resource_key) uniqueness — Added to both model and migration. 10. account_id NULL documented — Comment explaining unique constraint behavior with NULLs. 11. or 0 removed from count_deployment_rows. * Bit more verbose naming, but follows existing standards * Add crud tests * Harden validation, error handling, and test coverage for deployment persistence - Extract shared validators (validate_non_empty_string) to database/utils.py - Add DeploymentCreate schema with field validators - Add _UNSET sentinel to update_provider_account for nullable field handling - Extract _encrypt_api_key helper with broadened exception handling - Add empty-string validation in CRUD create functions before DB round-trip - Escalate IntegrityError and None rowcount logging to aerror with rollback - Fix parse_uuid to chain exceptions with `from exc` - Fix folder relationship nullability (Folder, not Folder | None) - Add tests for 5 previously untested CRUD functions and new validation paths * refactor: improve deployment CRUD naming, helpers, and documentation - Rename count_deployments to count_deployments_by_provider - Add update_deployment CRUD function and DeploymentUpdate schema - Extract _strip_or_raise helper to deduplicate input validation - Clarify IntegrityError messages to describe conflicts generically - Document cascade semantics on User model relationships, double- validation rationale in CRUD, and model_fields_set usage on DeploymentProviderAccountUpdate - Add missing get_deployment and update_deployment tests * fix: harden deployment model validation, logging, and SQLAlchemy compatibility - Validate pagination bounds (offset >= 0, limit > 0) in list_deployments_page - Normalize blank provider_tenant_id to None on create, matching update behavior - Centralize normalization via normalize_string_or_none utility and model validators - Remove raw exception objects from IntegrityError log messages to avoid leaking SQL - Reject unsupported types in parse_uuid with a clear TypeError - Remove `from __future__ import annotations` from table models to fix SQLAlchemy relationship mapper errors at runtime * update parent of deployment provider account migration to flow history migration * Add documentation and in-memory tests for deployment tables - Add inline comment on api_key column in migration noting it is stored encrypted - Add comment on DeploymentProviderAccount.api_key model field documenting encryption requirement - Add in-memory SQLite test suite covering both deployment and deployment_provider_account tables: unique constraints, CASCADE deletes, relationship loading, FK enforcement, and CRUD operations * Add missing test files * mypy * [autofix.ci] apply automated fixes * remove unused test --------- Co-authored-by: Hamza Rashid <hzarashid@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| a9d913ae3f |
feat(lfx): add adapter registries (#11990)
* checkout subservice implementation
* improve tests (added one, removed dead code) and handling of conflicting namespace registries
* introduce subservice types to scope and validate subservice registries by
* remove strict issubclass checks
* rename the feature to "adapter registry"
* refactor to /adapter directory
* major refactor to use shared config helpers
* refactor: align adapter registry with service manager patterns
- Use asyncio.iscoroutine for teardown (matches ServiceManager)
- Two-tier entry point error handling (warning vs debug)
- Add config load logging after adapter discovery
- Remove _get_nested_section wrapper, call shared helper directly
- Remove deployment/registry.py thin wrapper
- Export DeploymentServiceProtocol from services/__init__
- Extract test stubs into shared adapter_test_helpers module
- Revert incorrect ValueError->TypeError in schema validators
* refactor: remove adapter registry staging dict, derive config by convention
Align adapter registry with the service manager's @register_service
pattern: decorators now write directly to the AdapterRegistry singleton
instead of buffering in a module-level staging dict.
- register_adapter calls get_adapter_registry() + register_class()
directly, removing _decorator_adapter_registry and _decorator_lock
- get_adapter_registry derives entry_point_group and
config_section_path from AdapterType by convention, making them
optional parameters
- Remove _discover_from_decorators() since decorators are already
registered before discover() runs
- Fix discover_plugins docstring that incorrectly claimed decorators
had highest priority (config files do)
- Simplify _reset_registries, deps.py, test helpers, and docs
* move AdapterType enum to dedicated schema file in /adapters
* move config dir resolution to shared helper
* move import logic to a shared helper
* [autofix.ci] apply automated fixes
* Fix encapsulation, error handling, thread safety, and test gaps in adapter registry
- Encapsulate AdapterRegistry internal state behind private attrs and
read-only properties (adapter_type, entry_point_group, config_section_path,
is_discovered, has_cached_instances)
- Re-raise unexpected exceptions in register_adapter decorator instead of
silently swallowing them
- Promote entry-point discovery catch-all from debug to warning with traceback
- Wrap register_class in RLock for thread safety
- Add try/except with context logging around factory calls in get_instance
- Improve teardown_instances: preserve keys for error messages, add exc_info
- Evict stale cached instances when register_class changes the class for a key
- Narrow load_toml_config exception to ValueError (parent of TOMLDecodeError)
- Split load_object_from_import_path error handling: expected import failures
vs unexpected errors with traceback
- Guard redundant discover() calls in get_deployment_adapter via is_discovered
- Add tests for teardown exception isolation, sync teardown, and no-teardown
adapters
* [autofix.ci] apply automated fixes
* tighten up documentation
* add locking mechanisms around more functions
* [autofix.ci] apply automated fixes
* test config discovery
* Add lock around discovery
* improve teardown concurrency, add more concurrency tests, and improve protocol parity
* use kwarg lambda
* release lock before iterating with awaits
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jordan Frazier <jordan.frazier@datastax.com>
1.8.0.rc6
|
|||
| 902252ef01 | fix(test): Reduce response length assertions in flaky integration tests (#12057) | |||
| 6c4f1ddb98 |
fix: standardize "README" title and update API key configuration notes in 3 main flow templates (#12005)
* updated for README * chore: update secrets baseline with new line numbers * fixed test |
|||
| 335656f0c5 |
fix: Knowledge Base Improvements (#12023)
* fix: improve knowledge base UI consistency and pagination handling - Change quote style from double to single quotes throughout knowledge base components - Update "Hide Sources" button label to "Hide Configuration" for clarity - Restructure SourceChunksPage layout to use xl:container for consistent spacing - Add controlled page input state with validation on blur and Enter key - Synchronize page input field with pagination controls to prevent state drift - Reset page input to "1" when changing page * refactor: extract page input commit logic into reusable function Extract page input validation and commit logic from handlePageInputBlur and handlePageInputKeyDown into a shared commitPageInput function to eliminate code duplication. |
|||
| f0a9d9862f |
feat: Support the new ModelInput in Astra DB (#11203)
* feat: Support the new ModelInput in Astra DB * [autofix.ci] apply automated fixes * Update templates * [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) * Update starter templates * Update unified_models.py * [autofix.ci] apply automated fixes * Update component_index.json * [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> |
|||
| f37b250479 |
fix: playground does not scroll down to the latest user message upon sending (Regression) (#12006)
* fixes scroll is on input message * feat: re-engage Safari sticky scroll mode when user sends message Add custom event 'langflow-scroll-to-bottom' to force SafariScrollFix back into sticky mode when user sends a new message. This ensures the chat scrolls to bottom even if user had scrolled up, fixing behavior where Safari's scroll fix would remain disengaged after manual scrolling. |
|||
| 7e9b73a066 |
fix: change loop description (#12018)
* docs: simplify Loop component description in starter project and component index * [autofix.ci] apply automated fixes * style: format Loop component description to comply with line length limits * fixed component index * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| 7490e4f0cc |
fix: knowledge Base Table — Row Icon Appears Clipped/Cut for Some Entries (#12009)
* removed book and added file. makes more sense * feat: add accent-blue color to design system and update knowledge base file icon - Add accent-blue color variables to light and dark themes in CSS - Register accent-blue in Tailwind config with DEFAULT and foreground variants - Update knowledge base file icon fallback color from hardcoded text-blue-500 to text-accent-blue-foreground |
|||
| 5f2b39bc26 |
fix: MCP Server Modal Improvements (#12017)
* fixes to the mcp modal for style * style: convert double quotes to single quotes in baseModal component * style: convert double quotes to single quotes in addMcpServerModal component |
|||
| 14e3cf7e38 |
feat: add flow version control (#11859)
* initial implementation of flow history * Save and restore correctly * Fit to screen when restoring * Change confirmation to pop up * correectly export even when version is not selected * remove unused code * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * use auto snapshot from activate in fe * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Remove flow state -- not needed until integration with deploymnet * [autofix.ci] apply automated fixes * Strip keys from exported history; add some deepcopies for safety * [autofix.ci] apply automated fixes * Unique version numbers and tests for stripping keys * rename flow history entry * [autofix.ci] apply automated fixes * Add prune warning dialog, add domain-specific exceptions * Move version control to left side bar * fix remove_api_key function, remove dupe code * Remove full-history download for now, cleanup * merged updated FE * Remove the keep building from version page, fix double save, remove not needed timeout * fixes keep buildig * merge migrations * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * hide log canvas controls and flow toolbar when preview is active * [autofix.ci] apply automated fixes * updated styles * initial implementation of flow history * Save and restore correctly * Fit to screen when restoring * Change confirmation to pop up * correectly export even when version is not selected * remove unused code * [autofix.ci] apply automated fixes * use auto snapshot from activate in fe * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Remove flow state -- not needed until integration with deploymnet * [autofix.ci] apply automated fixes * Strip keys from exported history; add some deepcopies for safety * [autofix.ci] apply automated fixes * Unique version numbers and tests for stripping keys * rename flow history entry * [autofix.ci] apply automated fixes * Add prune warning dialog, add domain-specific exceptions * Move version control to left side bar * fix remove_api_key function, remove dupe code * merged updated FE * Remove full-history download for now, cleanup * Remove the keep building from version page, fix double save, remove not needed timeout * fixes keep buildig * merge migrations * hide log canvas controls and flow toolbar when preview is active * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * updated styles * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * removed keep building button * Workflow history branch 1 (#11946) * Update language from history to version * more language updates history -> version * more language updates history -> version * capture original draft at mount / restore * Renames files from history to version * clean up dead code, some more renames * more naming fixes * more naming fixes * Fix API endpoint language * [autofix.ci] apply automated fixes * version -> versions * ignore warning --------- Co-authored-by: Deon Sanchez <69873175+deon-sanchez@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * Update migration table naming * fix import and update log to error on prune failure * more import fixes * fix migration paths * more his->ver naming updates * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Add checkbox to save draft or not * add scroll, leave saved * [autofix.ci] apply automated fixes * fix migration path and some merge conflicts * ruff * remove max flow version size * [autofix.ci] apply automated fixes * Add index to created_at --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Deon Sanchez <69873175+deon-sanchez@users.noreply.github.com> |
|||
| 06f861d814 |
fix: Custom Component Generator Template contains broken URLs returning 404 errors (#11866)
replace with value urls as folder structure seems to have changed Co-authored-by: Olayinka Adelakun <olayinkaadelakun@Olayinkas-MacBook-Pro.local> Co-authored-by: Viktor Avelino <64113566+viktoravelino@users.noreply.github.com> |
|||
| 5b1602739b |
fix: coerce UUID session_id to string in ChatOutputResponse (#11958)
* fix: coerce UUID session_id to string in ChatOutputResponse and lfx callsite * simplify patching in tests * validate and raise early * valueerror instead of typerror |
|||
| 2fc6ca8561 |
fix: update pydantic to 2.12.5 for fastapi-pagination compatibility (#11566)
* fix: update pydantic dependency to version 2.12.5 to silence fastapi pagination warning * fix: bump sqlmodel to 0.0.32 for pydantic 2.12 compatibility SQLModel 0.0.32 includes bug fix for Annotated field handling with Pydantic 2.12+ (PR #1607 by @vimota). Without this fix, runtime type- mapping errors occur when using Annotated type hints with SQLModel models. * fix: add model_config to TransactionReadResponse for pydantic 2.12 compat With pydantic 2.12+, model_validate with from_attributes=True requires populate_by_name=True when using field aliases. Without this config, pydantic looks for the alias name (transaction_id) on the source object instead of the actual field name (id). * fix: update pydantic version to 2.12.5 in starter project JSON files * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * fix: update sqlmodel dependency version to 0.0.37 * fix: enhance migration validation tests and add schema verification * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * fix: update expected tables and refine SQLite diff filtering in migration tests --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>1.8.0.rc5 |
|||
| 5a18aaadcd |
fix: Resolve ruff check failures in lfx deployment service (#11992)
* fix: Improve message formatting in DeploymentNotConfiguredError * fix: Change ValueError to TypeError for invalid flow nodes and edges * fix: Add noqa comments to suppress ARG002 warnings for unused function arguments * fix: Update exception raising in tests to improve clarity and suppress linting warnings * fix: Change TypeError to ValueError so pydantic recognizes the error |
|||
| 91219be56c |
feat: add secret key rotation script and documentation (#10978)
* feat: add script for migrating encrypted data to a new secret key * test: add unit tests for secret key migration script * docs: update SECURITY.md to include secret key rotation process and migration instructions * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * update component index * update component index * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * refactor: use atomic transaction for secret key migration * fix: print new key for both generated and provided cases Ensure users always see the key being used regardless of whether it was auto-generated or provided via --new-key flag. * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * fix: improve error handling and test coverage for secret key migration - Update docstring to accurately reflect migrated fields (remove KB reference) - Change migrate_auth_settings to return (result, failed_fields) tuple - Skip folders with failed field migrations instead of silently preserving old values - Add tests for transaction atomicity and rollback behavior - Add tests for error handling: invalid data, null values, malformed JSON - Add test for file permissions (0o600 on Unix) - Add test for dry-run mode database preservation * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * docs: improve docstrings for secret key migration script - Add detailed description for ensure_valid_key explaining short vs long key handling - Add Returns section to migrate_value documenting None return on failure - Add full Args documentation and transaction behavior to migrate function * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * fix: update .gitignore to include new data files and user-specific cache * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * fix: update usage instructions to include 'uv run' for secret key migration script * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * feat: add migration verification functionality and corresponding tests * [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> |
|||
| 797c430270 |
ci: add lfx paths to CI path filters (#11212)
Changes to src/lfx were not triggering CI tests because the path filters did not include lfx directories. This adds lfx paths to: - python: triggers backend tests for any lfx changes - docker: triggers docker tests when lfx changes - components-changes: lfx components - components: lfx components, custom, schema, graph - workspace: lfx inputs |
|||
| 0cedf8a5a0 |
feat: Add Concatenate and Merge operations to DataFrame Operations (#11601)
* add concatenate and merge operations on tables * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * add code rabbit suggestions * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| 15b98537d7 |
fix: Sanitize database credentials in error messages (#11621)
* sanitize error from db * [autofix.ci] apply automated fixes * improve regex --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| 91c016aaed |
feat: schemas for pluggable deployment service (#11979)
* checkout deployment serice schemas
* simplify schemas
* internal facing schema improvements and structuring
* add tests
* use string for name property
* address coderabbit suggestions for implementing todos and adding tests
* address claude maximus comments
* remove teardown from base.add tests for uncovered exception classes
* stub db as AsyncSession
* address review findings: align protocol with ABC, tighten schemas and exceptions
- Add redeploy, duplicate, create_execution, get_execution to DeploymentServiceProtocol so it matches BaseDeploymentService
- Add @runtime_checkable to DeploymentServiceProtocol
- Use IdLike alias in base.py, service.py, and interfaces.py instead of
raw UUID | str
- Make DeploymentError.error_code required (all subclasses already provide one)
- Store deployment_id on DeploymentNotFoundError regardless of custom message
- Add isinstance checks for nodes/edges in BaseFlowArtifact.validate_data
- Add min_length=1 to BaseFlowArtifact.name
- Remove redundant provider_data re-declaration from DeploymentStatusResult
- Add descriptive messages to all NotImplementedError raises in stub service
- Remove misleading set_ready() from stub DeploymentService
- Export BaseDeploymentService and DeploymentError from package __init__
- Fix "Auhtenticated" typo in AuthUserProtocol docstring
- Parametrize stub method tests to cover all 11 methods
- Add tests for protocol conformance, get_deployment_create_schema,
DeploymentNotFoundError.deployment_id, flow name validation, nodes/edges
type validation, ConfigItem/DeploymentUpdate happy paths
* Add domain-specific exception type
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Jordan Frazier <jordan.frazier@datastax.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
|||
| ca9ba72981 |
chore: clean up files created during testing (#11844)
modified test_save_file_component.py to clean up generated test files once tests are done1.8.0.rc4 |
|||
| a5c8bf2079 |
chore: remove CodeFlash integration (#11670)
Remove CodeFlash dependency, CI workflow, and configuration as it is no longer used. |
|||
| d46f3a620c |
feat: traces v0 (#11689)
* feat: traces v0 v0 for traces includes: - filters: status, token usage range and datatime - accordian rows per trace Could add: - more filter options. Ecamples: session_id, trace_id and latency range * fix: token range * feat: create sidebar buttons for logs and trace add sidebar buttons for logs and trace remove lods canvas control * fix: fix duplicate trace ID insertion hopefully fix duplicate trace ID insertion on windows * fix: update tests and alembic tables for uts update tests and alembic tables for uts * chore: add session_id * chore: allo grouping by session_id and flow_id * chore: update race input output * chore: change run name to flow_name - flow_id was flow_name - trace_id now flow_name - flow_id * facelift * clean up and add testcases * clean up and add testcases * merge Alembic detected multiple heads * [autofix.ci] apply automated fixes * improve testcases * remodel files * chore: address gabriel simple changes address gabriel simple changes in traces.py and native.py * clean up and testcases * chore: address OTel and PG status comments https://github.com/langflow-ai/langflow/pull/11689#discussion_r2854630438 https://github.com/langflow-ai/langflow/pull/11689#discussion_r2854630446 * chore: OTel span naming convention model name is now set using name = f"{operation} {model_name}" if model_name else operation * add traces * feat: use uv sources for CPU-only PyTorch (#11884) * feat: use uv sources for CPU-only PyTorch Configure [tool.uv.sources] with pytorch-cpu index to avoid ~6GB CUDA dependencies in Docker images. This replaces hardcoded wheel URLs with a cleaner index-based approach. - Add pytorch-cpu index with explicit = true - Add torch/torchvision to [tool.uv.sources] - Add explicit torch/torchvision deps to trigger source override - Regenerate lockfile without nvidia/cuda/triton packages - Add required-environments for multi-platform support Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: update regex to only replace name in [project] section The previous regex matched all lines starting with `name = "..."`, which incorrectly renamed the UV index `pytorch-cpu` to `langflow-nightly` during nightly builds. This caused `uv lock` to fail with: "Package torch references an undeclared index: pytorch-cpu" The new regex specifically targets the name field within the [project] section only, avoiding unintended replacements in other sections like [[tool.uv.index]]. * style: fix ruff quote style * fix: remove required-environments to fix Python 3.13 macOS x86_64 CI The required-environments setting was causing hard failures when packages like torch didn't have wheels for specific platform/Python combinations. Without this setting, uv resolves optimistically and handles missing wheels gracefully at runtime instead of failing during resolution. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> * LE-270: Hydration and Console Log error (#11628) * LE-270: add fix hydration issues * LE-270: fix disable field on max token on language model --------- Co-authored-by: Olayinka Adelakun <olayinkaadelakun@mac.war.can.ibm.com> * test: add wait for selector in mcp server tests (#11883) * Add wait for selector in mcp server tests * [autofix.ci] apply automated fixes * Add more awit for selectors * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * fix: reduce visual lag in frontend (#11686) * Reduce lag in frontend by batching react events and reducing minimval visual build time * Cleanup * [autofix.ci] apply automated fixes * add tests and improve code read * [autofix.ci] apply automated fixes * Remove debug log --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: cristhianzl <cristhian.lousa@gmail.com> * feat: lazy load imports for language model component (#11737) * Lazy load imports for language model component Ensures that only the necessary dependencies are required. For example, if OpenAI provider is used, it will now only import langchain_openai, rather than requiring langchain_anthropic, langchain_ibm, etc. * Add backwards-compat functions * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Add exception handling * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * comp index * docs: azure default temperature (#11829) * change-azure-openai-default-temperature-to-1.0 * [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> * [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) * fix unit test? * add no-group dev to docker builds * [autofix.ci] apply automated fixes --------- 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> Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> * feat: generate requirements.txt from dependencies (#11810) * Base script to generate requirements Dymanically picks dependency for LanguageM Comp. Requires separate change to remove eager loading. * Lazy load imports for language model component Ensures that only the necessary dependencies are required. For example, if OpenAI provider is used, it will now only import langchain_openai, rather than requiring langchain_anthropic, langchain_ibm, etc. * Add backwards-compat functions * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Add exception handling * Add CLI command to create reqs * correctly exclude langchain imports * Add versions to reqs * dynamically resolve provider imports for language model comp * Lazy load imports for reqs, some ruff fixes * Add dynamic resolves for embedding model comp * Add install hints * Add missing provider tests; add warnings in reqs script * Add a few warnings and fix install hint * update comments add logging * Package hints, warnings, comments, tests * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * Add alias for watsonx * Fix anthropic for basic prompt, azure mapping * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * ruff * [autofix.ci] apply automated fixes * test formatting * ruff * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * fix: add handle to file input to be able to receive text (#11825) * changed base file and file components to support muitiple files and files from messages * update component index * update input file component to clear value and show placeholder * updated starter projects * [autofix.ci] apply automated fixes * updated base file, file and video file to share robust file verification method * updated component index * updated templates * fix whitespaces * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * add file upload test for files fed through the handle * [autofix.ci] apply automated fixes * added tests and fixed things pointed out by revies * update component index * fixed test * ruff fixes * Update component_index.json * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * updated component index * updated component index * removed handle from file input * Added functionality to use multiple files on the File Path, and to allow files on the langflow file system. * [autofix.ci] apply automated fixes * fixed lfx test * build component index --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Edwin Jose <edwin.jose@datastax.com> Co-authored-by: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com> * docs: Add AGENTS.md development guide (#11922) * add AGENTS.md rule to project * change to agents-example * remove agents.md * add example description * chore: address cris I1 comment address cris I1 comment * chore: address cris I5 address cris I5 * chore: address cris I6 address cris I6 * chore: address cris R7 address cris R7 * fix testcase * chore: address cris R2 address cris R2 * restructure insight page into sidenav * added header and total run node * restructing branch * chore: address gab otel model changes address gab otel model changes will need no migration tables * chore: update alembic migration tables update alembic migration tables after model changes * add empty state for gropu sessions * remove invalid mock * test: update and add backend tests update and add backend tests * chore: address backend code rabbit comments address backend code rabbit comments * chore: address code rabbit frontend comments address code rabbit frontend comments * chore: test_native_tracer minor fix address c1 test_native_tracer minor fix address c1 * chore: address C2 + C3 address C2 + C3 * chore: address H1-H5 address H1-H5 * test: update test_native_tracer update test_native_tracer * fixes * chore: address M2 address m2 * chore: address M1 address M1 * dry changes, factorization * chore: fix 422 spam and clean comments fix 422 spam and clean comments * chore: address M12 address M12 * chore: address M3 address M3 * chore: address M4 address M4 * chore: address M5 address M5 * chore: clean up for M7, M9, M11 clean up for M7, M9, M11 * chore: address L2,L4,L5,L6 + any test address L2,L4,L5 and L6 + any test * chore: alembic + comment clean up alembic + comment clean up * chore: remove depricated test_traces file remove depricated test_traces file. test have all been moved to test_traces_api.py * fix datetime * chore: fix test_trace_api ge=0 is allowed now fix test_trace_api ge=0 is allowed now * chore: remove unused traces cost flow remove unused traces cost flow * fix traces test * fix traces test * fix traces test * fix traces test * fix traces test * chore: address gabriels otel coment address gabriels otel coment latest --------- Co-authored-by: Olayinka Adelakun <olayinkaadelakun@Olayinkas-MacBook-Pro.local> 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> Co-authored-by: Ram Gopal Srikar Katakam <44802869+RamGopalSrikar@users.noreply.github.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: olayinkaadelakun <olayinka.adelakun@ibm.com> Co-authored-by: Jordan Frazier <122494242+jordanrfrazier@users.noreply.github.com> Co-authored-by: cristhianzl <cristhian.lousa@gmail.com> Co-authored-by: Hamza Rashid <74062092+HzaRashid@users.noreply.github.com> Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Co-authored-by: Edwin Jose <edwin.jose@datastax.com> Co-authored-by: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com> |
|||
| 355c5894f4 |
fix: Fixes Kubernetes deployment crash on runtime_port parsing (#11968)
* feat: add runtime port validation for Kubernetes service discovery * test: add unit tests for runtime port validation in Settings * fix: improve runtime port validation to handle exceptions and edge cases |
|||
| eada070b0c |
fix(test): Fix superuser timeout test errors by replacing heavy client fixture (#11972)
* fix super user timeout test error * fix fixture db test * remove canary test * [autofix.ci] apply automated fixes * flaky test --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| d602738a6d |
feat: KnowledgeBase Enhancements + Knowledge Ingestion flow + Polymorphic Job Tracking (#11541)
* updated columns name * fixed root issue * fixed chunks * fix: Remove title case transformation from knowledge base names and improve UI layout - Remove .title() transformation from knowledge base names in API endpoints - Add textTransform: none to knowledge base name column in grid - Improve source chunks page layout with proper overflow handling - Enhance chunk card UI with badges, better spacing, and copy feedback - Add pagination controls with first/last page buttons and page number input - Preserve original chunk indices when filtering - Fix whit * added kb dialog for added knowledg * added styles, need BE supprot * [autofix.ci] apply automated fixes * added more styles * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes * merge updated code * clean up stores and styles * fixed height on stepper * simplified init step * fixed minor issues in summary * code clean up with claude * moved kb files to the correct folder * added chunks endpoint * updated form * updated form * updated form to include column table * side panel style for multiple items * fixed placeholder and flipped modal settings config * [autofix.ci] apply automated fixes * fix for product styles and form update for hiding advanced mode * regex and dynamic error height adjustment * validation for file sizes * Move file size limit text to Configure Sources header and update conditional rendering * Paginated the chunk response. * Sync/Async ingestions endpoint for KnowledgeBases. Streamlining job execution for LF, internal status endpoint for jobs/tasks. * [autofix.ci] apply automated fixes * fix height jump and preview jump and added max h for dd * [autofix.ci] apply automated fixes * Paginated the chunk response. * Sync/Async ingestions endpoint for KnowledgeBases. Streamlining job execution for LF, internal status endpoint for jobs/tasks. * Modified migration file to handle downgrades. * committing changes for demo. * big updates * fixed chunks page * creating kb in canvas adds value and fixes updates functionality * fix ingestion for canvas * [autofix.ci] apply automated fixes * Added metadata file caching to speed up KB listing API call. # Conflicts: # src/backend/base/langflow/api/v1/knowledge_bases.py * Fixed linting and formatting issues. Tested caching for KB list call. * [autofix.ci] apply automated fixes * fixed icons * [autofix.ci] apply automated fixes * fixed jest test * fixed playwright test * updated ingestion format * fixes from qa * [autofix.ci] apply automated fixes * fix placeholder * fix deepclone * updated templates * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * updates templates * fix fe test * Added file locking to avoid lock contention and SQLite connection starvation. * fixed column config * persist the column config * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * added back metadata * Resolve locking error by force creating a fresh ChromaClient on every KB creation. This avoids the Read-Only 1032 Zombie Client error. Fixed ChromaClient creation to be only on creation, and reuse the client otherwise. * cris's fixes * reorganize KnowledgeBaseUploadModal file structure and update imports * [autofix.ci] apply automated fixes * tests * update google dependency version from 2.30.0 to 1.139.0 in component index * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Addressed PR comments: refactored existing code to break bigger implmentations into more testable blocks, refactored helpers into class base helpers, fixed code smells, added exhautive unit tests, extracted constant values into a separate file. * hide col details and open table * Addressed PR comments. * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * updated test yaml * revert yml * revert yml * [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: Debojit Kaushik <kaushik.debojit@gmail.com>1.8.0.rc3 |
|||
| f8e8382e67 |
chore: fix litellm icon, move to bundles (#11938)
* Fix litellm icon, move to bundles * Add litellm icon * fix unit 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> |
|||
| 7e148bcf56 |
feat: agentics IBM bundle (#11490)
Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Alfio Gliozzo <gliozzo@us.ibm.com> Co-authored-by: cristhianzl <cristhian.lousa@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Junkyu Lee <junkyu.lee@ibm.com> Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> Co-authored-by: Nahuel Defossé <nahuel.deofsse@ibm.com> Co-authored-by: Deon Sanchez <69873175+deon-sanchez@users.noreply.github.com> Co-authored-by: himavarshagoutham <himavarshajan17@gmail.com> Co-authored-by: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com> Co-authored-by: Viktor Avelino <viktor.avelino@gmail.com> |
|||
| 3d11698e0f |
feat: add functionality to merge file upload and folder upload (#11604)
* feat: Add folder/directory processing for File * Some file upload cleanup * Deprecate the directory component * [autofix.ci] apply automated fixes * Update src/frontend/src/components/core/parameterRenderComponent/components/inputFileComponent/index.tsx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update src/frontend/src/hooks/files/use-upload-file.ts Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update src/frontend/src/customization/components/custom-input-file.tsx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update use-upload-file.ts * Update custom-input-file.tsx * [autofix.ci] apply automated fixes * Update toggleComponent.spec.ts * [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) * Update component_index.json * Update use-upload-file.test.ts * Update component_index.json * [autofix.ci] apply automated fixes * Update component_index.json * feat: remove allowFolderselection flag for redundancy reasons * [autofix.ci] apply automated fixes * fix: remove console.log messages * feat: add functionality to merge file upload and folder upload * clean up * suffix placement * [autofix.ci] apply automated fixes * Per-file failures currently abort the whole batch. * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes --------- Co-authored-by: Eric Hare <ericrhare@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Olayinka Adelakun <olayinkaadelakun@mac.war.can.ibm.com> Co-authored-by: Olayinka Adelakun <olayinkaadelakun@Olayinkas-MacBook-Pro.local> |
|||
| 3007372513 |
feat: Update model metadata for Anthropic, Google, OpenAI (#11916)
* Update model metadata for Anthropic, Google, OpenAI Add and reorganize model metadata across providers: - Anthropic: add "claude-opus-4-6" and "claude-sonnet-4-6", reinsert "claude-opus-4-5-20251101" and mark older claude-3 haiku models as deprecated. - Google Generative AI: add preview model "gemini-3.1-pro-preview". - OpenAI: add "gpt-5.2" (reasoning) and add "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano" as tool-calling models; convert "gpt-4.5-preview" to deprecated and adjust deprecation/not_supported flags for several o* reasoning models (e.g. o1-mini deprecated, other o1/o3/o4 variants marked not_supported as appropriate). These changes update available/preview/deprecated flags and add newly supported model entries to the unified metadata lists. * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes * [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: himavarshagoutham <himavarshajan17@gmail.com> Co-authored-by: Adam Aghili <Adam.Aghili@ibm.com> Co-authored-by: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com> |
|||
| 37a31a0bf9 |
fix: search filter for agent component (#11939)
* Fix search filter for agent component * refactor and add tests |
|||
| ae00c03154 |
feat: Add full provider variable metadata and multi-variable support (#11446)
* Add full provider variable metadata and multi-variable support Enhances provider variable handling by introducing a metadata structure for all required variables per provider, including support for providers with multiple required variables (e.g., IBM WatsonX). Updates backend API to return full variable info, adapts frontend to dynamically render and save multiple variables, and adds comprehensive tests for the new API response. Also updates static mappings and introduces a new React hook for fetching provider variable metadata. * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Refactor provider variable saving to batch mode Replaces per-variable auto-save with a batch save for all provider variables, improving UX and reducing API calls. Updates input handling to show masked values for secrets, disables save button until all required fields are filled, and provides clearer feedback for configured variables. * use decrypt only for is secret Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update unified_models.py * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Refactor model provider metadata and validation logic Centralize MODEL_PROVIDER_METADATA in model_metadata.py and update unified_models.py to import and use it. Refactor provider validation to accept all required variables as a dictionary, supporting providers with multiple required credentials. Simplify and generalize validation logic for all providers. * Refactor provider param mappings for language models Centralizes provider-specific parameter mappings in model_metadata.py and introduces get_provider_param_mapping for reuse. Updates unified_models.py to use this mapping, reducing duplication and improving maintainability for model class, API key, and other provider-specific parameters. * Update providerConstants.ts * Refactor provider config check to include all required variables Replaces the API key-specific check with a more general configuration requirement, considering all required provider variables (not just secrets). Updates related UI logic and labels to reflect this broader configuration requirement. * Fixed overflow * [autofix.ci] apply automated fixes * Fix provider enablement to check all required variables Update logic to consider both secret and non-secret variables when determining enabled providers. Refactor to fetch all required provider variables, not just credentials, and ensure correct values are passed for validation. This improves accuracy for providers that require non-secret configuration variables. * Refactor language model config for provider flexibility Replaces provider-specific field toggling logic in starter project LanguageModelComponent definitions with a call to apply_provider_variable_config_to_build_config. This centralizes provider-specific configuration, improving maintainability and extensibility for new model providers. * Update backend to include validation on variable enable, and validation endpoint * Deleted unused files * Added required provider API calls * Refactored frontend to allow handling multiple fields on the providers * updated component index * Merge remote-tracking branch 'origin/main' into EJ/add-multi-api-support * Changed LF assistant backend to work with new variables * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * fix: resolve merge conflicts for multi api support (#11807) * 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> * test: Fix race condition in rename flow test (#11549) * 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 * 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> * 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> * 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> * 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> * fix: Apply env var fallback fix to lfx module (#11584) Applies the fix from PR #9422 (commit |
|||
| a75b127812 |
fix: upgrade opentelemetry stack (#11933)
* fix: upgrade opentelemetry stack upgrade opentelemetry stack * chore: add opentelemetry-exporter-prometheus back add opentelemetry-exporter-prometheus back * test: test_token_with_extra_claims asyncio add asyncio marker to test_token_with_extra_claims * test: add shutdown to OT tests add shutdown to OT tests |
|||
| c1b423862d |
fix: preserve [complete] extra in langflow-base pre-release constraint (#11931)
* fix: preserve [complete] extra in langflow-base pre-release constraint The sed replacement for pre-release builds was dropping the [complete] extra from the langflow-base dependency, causing the built wheel to depend on bare langflow-base instead of langflow-base[complete]. This meant hundreds of optional dependencies (LLM providers, vector stores, document loaders, etc.) were missing from pre-release installs, breaking the CLI and all cross-platform installation tests. * test: add regression test for sed constraint preservation * [autofix.ci] apply automated fixes * test: add regression test for sed constraint preservation in release workflow * [autofix.ci] apply automated fixes * test: add regression test for sed constraint preservation in release workflow * [autofix.ci] apply automated fixes * fix: move noqa comment to correct line for S603 check * [autofix.ci] apply automated fixes * test: add regression test for sed constraint preservation in release workflow * [autofix.ci] apply automated fixes * test: add regression test for sed constraint preservation in release workflow --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| 922f86411b |
chore: add AGENTS.md for AI coding agents (#11411)
* feat: add AGENTS.md for AI coding agents This adds a general AGENTS.md file (see https://agents.md) for use by AI coding agents. This also adds an explicit CLAUDE.md file that simply references AGENTS.md, since Claude Code has not yet adopted the emerging standard of AGENTS.md (see https://github.com/anthropics/claude-code/issues/6235). * Update AGENTS.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> |
|||
| a5dce3a015 |
fix: add ModelInput to listed components (#11886)
* add ModelInput to csv agent * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * fix openapi and openai tool agents * Update tests to use ModelInput * Ruff fixes * Remove whitespace * More components * [autofix.ci] apply automated fixes * Update test_ibm_granite_handler.py * Update test_tool_calling_agent.py * Update uv.lock * Update component_index.json * [autofix.ci] apply automated fixes * fix: only access system prompt if available * Update csv_agent.py * Update csv_agent.py * [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> Co-authored-by: Eric Hare <ericrhare@gmail.com> |
|||
| 5210b9e011 |
fix(tests): Resolve caio context leak causing EAGAIN on CI (#11936)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| d7eb29e853 |
feat: Add Openlayer Integration (#10699)
feat: Add Openlayer tracing integration Add Openlayer as a tracing provider for Langflow, enabling users to monitor and evaluate their LLM pipelines through the Openlayer platform. - Implement OpenlayerTracer following the BaseTracer interface - Support both Chat flows and Agent-only flows - Add integration documentation - Register openlayer as an optional dependency Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
|||
| b2d8aa86b5 | test: Fix unawaited coroutine warnings in Ollama mock tests (#11930) | |||
| 6e95b7cdcc |
ci: wire pre_release input to cross-platform tests (#11925)
The cross-platform-test.yml references inputs.pre_release in the force-reinstall steps (added in PR #11322) but never declares it as a workflow_call input. release.yml also never passes it. This means inputs.pre_release is always empty, force-reinstall always uses --no-deps, and dependency resolution fails for RC versions. - Add pre_release as a workflow_call boolean input in cross-platform-test.yml - Pass pre_release from release.yml when calling cross-platform-test.yml |
|||
| 7c43e4c4e5 |
refactor: inspection panel and playground (#11907)
* refactor: move canvas controls to bottom-left and add inspection panel toggle * fix: remove inspectionPanelVisible coupling from GenericNode Descriptions and edit button now render unconditionally, preventing visual changes on canvas when toggling the inspector panel. * fix: hide handle, readonly, and connected fields from inspection panel * fix: hide handle, readonly, and connected fields from inspection panel * perf: scope edge subscription to connected fields for this node only * fix: rename node toolbar edit button testid and update tests for dual-panel visibility * test: skip logs tests while logs button is being removed * fix: update tests for connected fields hidden in edit mode and dual-panel button visibility * refactor(frontend): playground UI tweaks * refactor(frontend): playground UI tweaks * refactor(frontend): playground UI tweaks * refactor(frontend): playground UI tweaks * refactor(frontend): playground UI tweaks * fix: decouple inspection panel toggle from panel visibility state The toggle button became disabled immediately after closing the panel because selectedNode was derived from inspectionPanelVisible. Now selectedNode is based solely on the current node selection, keeping the toggle enabled as long as a node is selected. * fix: use distinct icon for inspection panel toggle Replace PanelRight/PanelRightClose with SlidersHorizontal to avoid confusion with the Playground button which uses PanelRightOpen. Add bg-accent background highlight when the panel is active. * refactor(frontend): resolved eslint errors * Fix playground state (#11896) * address state in chat * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * update font size --------- Co-authored-by: himavarshagoutham <himavarshajan17@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * Add data-testid to playground close button and fix freeze test The playground now opens in fullscreen mode, which covers the toolbar button (playground-btn-flow-io). Updated the freeze test to use the close button inside the playground header instead. * Fix chatInputOutputUser-shard-2 test to use playground close button The playground now opens in fullscreen, covering the toolbar button. Use playground-close-button instead to close the playground. * Fix limit-file-size-upload test to use playground close button * Fix fileUploadComponent test for fullscreen playground Use playground-close-button to close and exit fullscreen before accessing the more menu which is hidden in fullscreen mode. * Fix Memory Chatbot test to use sidebar session more menu The chat-header-more-menu is hidden in fullscreen mode. Use the session sidebar more menu instead to access message logs. * Fix Document QA test to exit fullscreen before accessing more menu The clear-chat option is only available in the chat-header-more-menu which is hidden in fullscreen mode. Exit fullscreen first. * Fix Basic Prompting test for fullscreen playground Use sidebar new-chat button and session more menu instead of header elements that are hidden in fullscreen mode. * Fix playground test to use sidebar elements in fullscreen mode Use sidebar session more menu and new-chat button instead of header elements that are hidden or overlapped in fullscreen mode. * fix: Remove exit fullscreen button from Playground chat header * refactor: Update dependencies and improve icon handling in CanvasControls and HelpDropdownView * fix: playwright test * fix: playwright test * fix: improve visibility handling for text input and file path connections in tests * fix: ensure visibility check for file content uses the last instance * fix: update dummy API key in outdated_flow.json for testing purposes --------- Co-authored-by: Keval718 <kevalvirat@gmail.com> Co-authored-by: himavarshagoutham <himavarshajan17@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| 6bddfc2336 |
feat: add litellm component (#11805)
* Add litellm component * [autofix.ci] apply automated fixes * update default value of url * [autofix.ci] apply automated fixes * Validate that model exists in model provider list, fail loud when credentials incorrect * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * ruff * [autofix.ci] apply automated fixes --------- Co-authored-by: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
|||
| 91e32bfbb2 |
feat: Opensearch update and parameterise timeouts (#11881)
* Update opensearch_multimodal.py
* Support VectorStore & multi-model OpenSearch
Register the component as a VectorStore and extend the OpenSearch multimodal component to handle multi-model embeddings and robust ingestion/search. Updates include adding VectorStore base class, new inputs (request_timeout, max_retries), a vector store connection tool output, and an updated code_hash. The OpenSearch component code was enhanced with model name normalization, dynamic per-model embedding field names, multi-model detection/mapping, parallelized and rate-aware embedding generation (with retries), improved index mapping management, AOSS engine validation, and other ingestion/search robustness improvements.
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
* address review comments
* [autofix.ci] apply automated fixes
* Update opensearch_multimodal.py
* [autofix.ci] apply automated fixes
* Update component_index.json
* address review comments
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes
* address QA issues
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* [autofix.ci] apply automated fixes (attempt 3/3)
* fix ruff errors
* [autofix.ci] apply automated fixes
* Set default vector engine to jvector
Change the default 'engine' option from 'nmslib' to 'jvector' in OpenSearch vector store components. Updated in src/lfx/src/lfx/components/elastic/opensearch.py and opensearch_multimodal.py. Note: 'jvector' requires OpenSearch 2.9+, so ensure cluster compatibility before deploying.
* Update component_index.json
* [autofix.ci] apply automated fixes
* Update opensearch_multimodal.py
* [autofix.ci] apply automated fixes
* Update component_index.json
* OpenSearch multimodal: multi-model embeddings
Add multi-model multimodal support and robustness to the OpenSearch vector store component: introduce normalize_model_name and get_embedding_field_name to create dynamic fields (chunk_embedding_{model}), track embedding_model and embedding_dimensions in mappings, auto-detect available embedding models, select embeddings by deployment/model identifiers (including available_models dict), and use parallel or sequential embedding generation with rate-limit-aware retries (tenacity) and IBM-specific throttling. Improve index mapping handling, lazy addition of knn_vector fields, AOSS/engine validation, and bulk ingestion logic. Also update component index code_hash to reflect these changes.
* [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>
Co-authored-by: himavarshagoutham <himavarshajan17@gmail.com>
|
|||
| 90df8fb8d2 |
docs: Add AGENTS.md development guide (#11922)
* add AGENTS.md rule to project * change to agents-example * remove agents.md * add example description |
|||
| 655aee4c0c |
fix: add handle to file input to be able to receive text (#11825)
* changed base file and file components to support muitiple files and files from messages * update component index * update input file component to clear value and show placeholder * updated starter projects * [autofix.ci] apply automated fixes * updated base file, file and video file to share robust file verification method * updated component index * updated templates * fix whitespaces * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * add file upload test for files fed through the handle * [autofix.ci] apply automated fixes * added tests and fixed things pointed out by revies * update component index * fixed test * ruff fixes * Update component_index.json * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * updated component index * updated component index * removed handle from file input * Added functionality to use multiple files on the File Path, and to allow files on the langflow file system. * [autofix.ci] apply automated fixes * fixed lfx test * build component index --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Edwin Jose <edwin.jose@datastax.com> Co-authored-by: Himavarsha <40851462+HimavarshaVS@users.noreply.github.com> |
|||
| dfb796d414 |
feat: generate requirements.txt from dependencies (#11810)
* Base script to generate requirements Dymanically picks dependency for LanguageM Comp. Requires separate change to remove eager loading. * Lazy load imports for language model component Ensures that only the necessary dependencies are required. For example, if OpenAI provider is used, it will now only import langchain_openai, rather than requiring langchain_anthropic, langchain_ibm, etc. * Add backwards-compat functions * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * Add exception handling * Add CLI command to create reqs * correctly exclude langchain imports * Add versions to reqs * dynamically resolve provider imports for language model comp * Lazy load imports for reqs, some ruff fixes * Add dynamic resolves for embedding model comp * Add install hints * Add missing provider tests; add warnings in reqs script * Add a few warnings and fix install hint * update comments add logging * Package hints, warnings, comments, tests * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * Add alias for watsonx * Fix anthropic for basic prompt, azure mapping * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * ruff * [autofix.ci] apply automated fixes * test formatting * ruff * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |