Commit graph

956 commits

Author SHA1 Message Date
Mendon Kissling
087c1a2591
docs: refresh custom dependencies page (#9291)
* update-for-tomls

* move-explanation-to-beginning

* Apply suggestions from code review

---------

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
2025-08-02 15:25:16 +00:00
Mendon Kissling
f3701989b8
docs: refresh cli page (#9274)
* cli-values

* split-out-introductory-commands

* remove-feature-flag-envs

* cleanup-cli-links

* fix type

* clarification-on-cli-superuser

* remove-internal-env-vars

* alignment and editorial

* audit booleans

---------

Co-authored-by: April M <april.murphy@datastax.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
2025-08-02 15:24:31 +00:00
Mendon Kissling
21f678dd90
docs: kubernetes best practices and postgresql dba guide (#9226)
* content

* dba-style

* kubernetes-best-practices

* edits

* spacing-cleanup

* see-also

* trailing-space

* Apply suggestions from code review

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

* title-case-and-via

* steps-for-intro

* ha-postgres

* dba-page

* code-review

* a-the

* Apply suggestions from code review

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

* move-file-location

* split-out-bp-page

* cleanup-links

* link

* editorial - k8s dev and prod deployments

* working on dba and best practices

* finish best practices

* fix link

* finish dba and best practices

* fix migration command

---------

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: April M <april.murphy@datastax.com>
2025-08-01 21:37:56 +00:00
Mendon Kissling
67c2523589
docs: add example for plist (#9294)
* add-example-for-plist

* ampersands
2025-08-01 21:23:25 +00:00
Mendon Kissling
212362f3e6
docs: refresh telemetry page (#9272)
* add-desktop-field-and-remove-notion-artifacts

* Apply suggestions from code review

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

* stash

* populate-empty-headings

* clarity

---------

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: April M <april.murphy@datastax.com>
2025-08-01 13:32:03 +00:00
April I. Murphy
15637403ad
docs: Standardize style of component names, especially when used in links (#9251)
* standardize component name style and links pt 1

* component name standardization pt 2

* standardization pt 3

* standardize component names pt 4

* peer review

* fix lnk

* update edit tool actions section

* standardize Agent, agent, agentic

* more style auditing

* missing imports
2025-08-01 12:52:18 +00:00
April I. Murphy
483af5b090
docs: Fix a broken anchor (#9249)
* fix anchor

* random change to retrigger CI
2025-07-30 20:06:35 +00:00
Mendon Kissling
91264a0595
docs: refresh docker page (#9208)
* brb

* compose-section-rewrite

* create-dockerfile

* custom-python-files-in-dockerfile

* update intro bullets, fix some code syntax

---------

Co-authored-by: April M <april.murphy@datastax.com>
2025-07-30 19:05:11 +00:00
Mendon Kissling
8858b82085
docs: reference exported key (#9245)
* reference-exported-key

* double-quotes-for-var-expansion
2025-07-30 16:37:42 +00:00
April I. Murphy
aa70a15654
docs: Remove template pages because templates already include explanatory notes within Langflow (#9235)
* finish template description

* remove travel planning and simple agent pages

* remove sequential agent and memory chatbot

* remove 2 template, finish redirects, sidebar

* remove vector store rag page

* remove basic prompting page

* add bold to template name

* fix link
2025-07-30 16:35:50 +00:00
Mendon Kissling
7123c507a7
docs: LANGFLOW_ENABLE_SUPERUSER_CLI environment variable (#9223)
* add-superuser-cli-note-and-env-var

* code-review

* env-var-link

* resolve CLI superuser confusion

---------

Co-authored-by: April M <april.murphy@datastax.com>
2025-07-30 16:33:01 +00:00
April I. Murphy
47be23e02a
docs: Touchup cloud provider deployment pages (#9241)
* recreate 9232 because brokne build

* fix links

* fix nav level

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
2025-07-30 13:09:56 +00:00
Mendon Kissling
c03074300f
docs: combine api keys and authentication pages (#9172)
* combine-api-keys-and-auth

* remove-old-page-redirect-and-sidebar

* Update docs/docs/Configuration/api-keys-and-authentication.mdx

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

* fix-parse-error

* Apply suggestions from code review

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

* upto-env-vars

* clarity-in-example

* clarify-user-creation

* specify-which-table

* links

* link text

* environment variable alignment

* environment variable table cleanup

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: April M <april.murphy@datastax.com>
2025-07-30 01:07:15 +00:00
April I. Murphy
575cde3e8d
docs: Audit admonitions, related links, and prerequisites for style and consistency (#9217)
* add some related links

* admonitions audit

* initial prereq audit

* standardize install LF prereqs

* some coderabbit
2025-07-29 13:25:16 +00:00
Mendon Kissling
643a8ccd96
docs: refresh remote server page (#9189)
* clean-up-and-clarify

* code-review

* correct-dockerfile
2025-07-28 18:44:59 +00:00
Mendon Kissling
ab90aa7439
docs: refresh develop overview page (#9177)
* content

* docs-review
2025-07-28 18:08:19 +00:00
April I. Murphy
7f04e15602
docs: Audit use of tabs and details (#9196)
* audit details

* tabs pt 1

* tabs pt 2

* tabs pt 3

* tabs to details
2025-07-28 17:09:14 +00:00
XiaochuanLyu
324caf486c
refactor: remove AsyncFileSink logger, add rotation support, and update docs (#9105)
* refactor(logs): remove asyncfilesink logger, add rotation support, and update docs

* refactor(logs): remove asyncfilesink logger, add rotation support, and update docs

---------

Co-authored-by: Harry Lyu <harrylyu@umich.edu>
Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
2025-07-25 17:50:45 +00:00
Mendon Kissling
fe1e45ce2a
docs: refresh external postgresql database page (#9174)
* coming-back

* refresh-postgresql-page

* add-why

* Apply suggestions from code review

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

* clarify-example-yml

---------

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
2025-07-25 13:24:21 +00:00
April I. Murphy
63a7bebb44
docs: fix typo in left nav (#9160)
* fix typo

* restart build
2025-07-23 21:10:40 +00:00
April I. Murphy
f8d8ff4599
docs: Restructure navigation, refactor all component documentation, among many other things (#9115)
* reorg pt 1

* nav reorg pt 2

* update sidebar ad

* resolve comments and combine app pages

* playground and voice mode rewrite

* fix link

* add separate bundle pages

* add new pages to sidebar

* working on bundles

* moving content to new bundle pages

* move some sidebar items

* fix build

* nav labels

* small edits

* Working on helpers

* core components work

* wrapping up some more agent duplication

* aligning file management

* webhooks and file management

* data components

* address vector store and some legacy components

* finish logic params

* some work on processors

* remove unneeded pages and tidy some llm info

* progress on bundles pt 1

* bundles pt 2

* bundles pt 3

* finish looking at integrations

* it is done

* fix errors

* coderabbit and typos

* coderabbit pt 2

* resolving mcs pt 1

* separate agents and mcp

* still working on some memory stuff

* finish message history alignment

* incorporate PR 9138

* missed a link

* file management ui

* align w ui pr

* Apply suggestions from code review

* memory edits after discussion
2025-07-23 20:20:59 +00:00
Victor-w-Madeira
78a2ff69b6
docs: expand multiple outputs section to include group_outputs behavior (#9075)
* Expand multiple outputs section with group_outputs behavior

* Update docs/docs/Components/components-custom-components.mdx

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

* Update docs/docs/Components/components-custom-components.mdx

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

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
2025-07-23 13:52:40 +00:00
Mendon Kissling
d59c890dce
docs: langflow 1.5 auto-login security doc (#9057)
* langflow-auto-login-security-doc

* trailing-space

* auto-not-auth

* clarify-new-behavior

* env-var-default

* security-md-and-var-names

* Apply suggestions from code review

* Update docs/docs/Configuration/environment-variables.mdx

* Update docs/docs/Configuration/configuration-authentication.mdx

---------

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
2025-07-23 13:48:46 +00:00
April I. Murphy
bd8e3a162a
docs: Move small edits to reduce scope of PR 9115 (#9135)
port a few missed things
2025-07-22 16:39:57 +00:00
Mendon Kissling
8f84d9100d
docs: user feedback items (#9122)
* db-location-and-agent-memory

* cleanup

* postgresql-for-agent-memory

* postgresql-in-message-history

* remove-mcp-tutorial-note
2025-07-22 16:22:30 +00:00
Mendon Kissling
7b3c4b2c0d
docs: update integrations-docling.mdx (#9131)
Add apostophes for extra install.
2025-07-22 15:39:12 +00:00
April I. Murphy
2fa2a43f96
docs: Various edits related to style, syntax, and adding more detail to some pages (#9132)
* port unrelated changes from IA PR

* few more ports

* fix build

* edit to try to restart build
2025-07-22 15:20:31 +00:00
Mendon Kissling
400ff562c4
docs: update components-helpers.mdx (#9120) 2025-07-21 15:38:25 +00:00
Mendon Kissling
607cadfe17
docs: data types (#9074)
* data-data-type

* content

* cleanup

* why-to-use

* cleanup

* more-cleanup

* last-cleanup

* redirects

* remove-concepts-objects-and-add-redirects-and-fix-links

* edit data types page

---------

Co-authored-by: April M <april.murphy@datastax.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
2025-07-17 16:30:42 +00:00
Mendon Kissling
ecf44e6908
docs: add mcp tutorial (#9022)
* minimal-working-code

* remove-old-files-and-add-new-content

* cleanup

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

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

* intro-and-sidebars

* Apply suggestions from code review

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

* Apply suggestions from code review

* add-fake-resume

* docs: update chat-with-files tutorial to include Langflow API key and clarify file upload process

* docs: enhance chat-with-files tutorial to support multiple file uploads with example code

* move-file-and-fixpath

* Apply suggestions from code review

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

* docs: update fake resume with new example details

* Apply suggestions from code review

* initial-content

* basic-app

* more

* more

* fix-screenshot

* cleanup

* Apply suggestions from code review

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

* clarify-server-side-geolocation

* revise intro

* pt 2

* last part

* change file type

---------

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: April M <april.murphy@datastax.com>
2025-07-17 13:55:43 +00:00
Mendon Kissling
b4fa86961d
docs: endquote in code alias (#9080)
endquote

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
2025-07-17 12:12:29 +00:00
Mendon Kissling
dc6bc753bc
docs: clarify group components false behavior (#9046)
clarify-group-outputs-false
2025-07-16 21:42:37 +00:00
Mendon Kissling
c65ed4559e
docs: remove unused template (#9073)
remove-unused-template
2025-07-16 14:44:31 +00:00
Victor-w-Madeira
f07f0e26b7
Improve documentation: Component Overview section (#9056)
* Improve Component Overview: add image and expand grouping instructions

* Update docs/docs/Concepts/concepts-components.mdx

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

* alternate-control

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
2025-07-15 17:15:59 +00:00
Mendon Kissling
3ddc7009e2
docs: remove google oauth integrations (#9047)
* remove-oauth-integration-and-make-components-legacy

* link

* redirect-oauth-page

* legacy-version-and-recommendation
2025-07-15 17:14:47 +00:00
Gabriel Luiz Freitas Almeida
f1e95940a5
feat(database): add noop mode with config flag and update related tests (#9054)
* test: enhance agent component tests and add new fixture for database-less sessions

- Added `use_noop_session` fixture to facilitate testing without a database.
- Expanded `TestAgentComponent` with new tests for agent responses using the Calculator tool and validation across all OpenAI and Anthropic models.
- Updated `test_component.py` to include tests for message sending without a database, ensuring proper event handling and message integrity.
- Refactored existing tests for clarity and consistency.

* fix: enhance user retrieval logic in get_or_create_super_user and teardown_superuser functions

- Updated user retrieval in both functions to handle different result types from the database query, ensuring robustness against unexpected return values.
- Added checks for `first()` method and list type to improve error handling and maintainability.

* feat: add support for no-op database operations in settings

- Introduced `use_noop_database` configuration option to disable all database operations, controlled by the `LANGFLOW_USE_NOOP_DATABASE` environment variable.
- Updated the `use_noop_session` fixture to reflect the new environment variable for testing without a database.

* feat: implement NoopSession for database-less operations

- Added NoopSession class to provide a no-operation database session, allowing for testing and operation without a real database connection.
- Updated DatabaseService to utilize NoopSession when the `use_noop_database` setting is enabled, ensuring all database operations are disabled in this mode.
- Enhanced error handling and logging for session management, improving robustness in scenarios where the database is not in use.

* refactor: update import paths for NoopSession in test files

- Changed import path for NoopSession from `langflow.services.database.service` to `langflow.services.database.session` in both `test_agent_component.py` and `test_component.py`.
- This refactor improves code organization and aligns with recent changes in the project structure.

* feat: enhance NoopSession with result handling methods

- Added an internal _NoopResult class to the NoopSession, providing methods `first()`, `all()`, and `one_or_none()` for better handling of no-operation results.
- This enhancement improves the usability of NoopSession in testing scenarios by mimicking expected database query behaviors.

* refactor: improve logging for NOOP database session

- Changed the log level from warning to info for the NOOP database session message in the DatabaseService class.
- This adjustment enhances clarity in logging, indicating that all DB operations are disabled without implying an error condition.

* docs: improve docstring formatting for custom_component_update function

- Reformatted the docstring for the custom_component_update function to enhance readability by breaking long lines into multiple lines.
- This change improves documentation clarity, making it easier for developers to understand the function's purpose and behavior.

* docs: add LANGFLOW_USE_NOOP_DATABASE environment variable documentation

- Introduced documentation for the new LANGFLOW_USE_NOOP_DATABASE environment variable, which allows users to enable a no-op database mode, avoiding database connections and operations.
- This addition enhances the clarity of configuration options available for Langflow, aiding users in understanding how to run flows without a database.

* refactor: move NOOP database session logging to settings

- Removed the logging statement from the DatabaseService class and added it to the `set_use_noop_database` field validator in the Settings class.
- This change centralizes the logging for the NOOP database session, improving code organization and ensuring that the message is logged whenever the setting is applied.
2025-07-15 16:52:23 +00:00
Ronnie Miller
d8291131ab
docs: Add heading and codeblock events for segment (#9050)
* docs: Add heading and codeblock events for segment

* docs: Update scroll event names

* docs: improve capture of code block language

* docs: ensure code block language capture for mobile
2025-07-15 15:17:11 +00:00
github-actions[bot]
785830937f
docs: OpenAPI spec version upgraded from 1.4.3 to 1.5.0.post1 (#9049)
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>
2025-07-15 12:25:45 +00:00
Mendon Kissling
e64e328257
docs: file loader output behavior (#9045)
* file-loader output

* remove-duplicate-info

* clarify-output

* Update docs/docs/Components/components-data.mdx

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

---------

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
2025-07-14 16:00:39 +00:00
Mendon Kissling
18103cd964
docs: patch versions may differ between OSS and Desktop (#9016)
* semver

* make-h3

* move-version-match-note

* comma

* important

* Update docs/docs/Support/release-notes.md

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

---------

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
2025-07-14 15:20:28 +00:00
Mendon Kissling
73f2c58f76
docs: convert md to mdx (#9041)
* initial-conversion

* fix-links

* remove-duplicate-agent
2025-07-14 14:46:18 +00:00
April I. Murphy
dea283a9c3
docs: Fix a label in the left nav (#9012)
fix label
2025-07-11 13:18:10 +00:00
Ronnie Miller
c38df91841
docs: Configure Segment (#8996) 2025-07-11 04:39:19 +00:00
Mendon Kissling
c30b81ef1d
docs: agents tutorial (#8961)
* minimal-working-code

* remove-old-files-and-add-new-content

* cleanup

* more-content

* use-directory-instead-of-sql

* sidebars

* style-cleanup

* slug

* directory

* tools-port

* use-ts-client

* code-review

* next-steps

* Apply suggestions from code review

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

* docs-review

* Update sidebars.js

* fix-some-anchors

* docs-review

---------

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
2025-07-11 01:31:24 +00:00
April I. Murphy
27f5416ec0
docs: Repurpose Concepts section to focus on the visual editor and flows (#8845)
* initial alignment with 1.5 pr

* finish 1st rewrite of visual editor overview page

* working on flows and welcome

* more visual editor work

* about langflow

* next steps

* lfoss-1395 more focus on agents mcp

* align with PRs

* working on publish flows page

* finish embedded chat section

* finish publish page

* peer review pt 1

* coderabbit nitpicks

* coderabbit nitpicks pt 2

* some updates

* almost done

* move all upgrade stuff to release notes page.

* fix link

* fix anchors

* fix details

* uncomment

* add import

* hide again
2025-07-11 01:15:42 +00:00
Mendon Kissling
18fe897d30
docs: skip auth note (#8992)
skip-note
2025-07-10 18:42:44 +00:00
Ítalo Johnny
76fbcf4d55
docs: add env var setup for macOS and Windows GUI (#8181)
* docs: add env var setup for macOS and Windows GUI

* style-and-cleanup

* docs-review

* add-env-vars-to-troubleshooting

* Update docs/docs/Get-Started/get-started-installation.md

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

* docs-review

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
2025-07-10 18:30:22 +00:00
Mendon Kissling
41216f8a65
docs: rag chatbot tutorial (#8929)
* minimal-working-code

* remove-old-files-and-add-new-content

* cleanup

* swap-in-faiss

* more-content

* initial-content

* remove-files

* remove-unused-image-file

* Apply suggestions from code review

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

* differentiate-vector-db

* Apply suggestions from code review

Co-authored-by: Melissa Herrera <85907755+melienherrera@users.noreply.github.com>

* use-langflow-js-client

* next-steps

* Apply suggestions from code review

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

* docs-review

---------

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
Co-authored-by: Melissa Herrera <85907755+melienherrera@users.noreply.github.com>
2025-07-10 18:02:36 +00:00
Mendon Kissling
a9a5c3490c
docs: chatbot with files tutorial (#8813)
* minimal-working-code

* remove-old-files-and-add-new-content

* cleanup

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

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

* intro-and-sidebars

* Apply suggestions from code review

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

* Apply suggestions from code review

* add-fake-resume

* docs: update chat-with-files tutorial to include Langflow API key and clarify file upload process

* docs: enhance chat-with-files tutorial to support multiple file uploads with example code

* move-file-and-fixpath

* Apply suggestions from code review

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

* docs: update fake resume with new example details

* Apply suggestions from code review

---------

Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com>
2025-07-10 16:55:40 +00:00
Mendon Kissling
b0729fa370
docs: remove duplicate intro text (#8987)
* remove-duplicate-input-text

* spacing
2025-07-10 16:37:43 +00:00