Commit graph

60 commits

Author SHA1 Message Date
zznate
088ddfa6c5 bug: Adjust replicas to zero as we are in single server mode. Closes #358. 2025-11-05 15:10:32 +13:00
Sebastián Estévez
28f417ab5c
Merge branch 'main' into tui-optional-openai-key 2025-10-31 15:54:18 -04:00
phact
563efd957f lazy client initialization + client cleanup + http2 probe and fallback 2025-10-31 15:52:10 -04:00
Lucas Oliveira
b9ea9c99f1
fix: fixed bugs on ollama integration, added ingestion on onboarding (#330)
* Updated ollama components

* Changed ollama display name to be correct

* Changed prompt of provider validation

* removed event dispatched from file upload

* Changed onboarding to upload the entire knowledge

* Changed default models for ollama
2025-10-30 09:02:06 -03:00
phact
80fdd9680d make openai optional in tui and lazy client creation in backend 2025-10-29 22:38:31 -04:00
phact
3998014561 fix document processing embedding model bug 2025-10-13 11:31:56 -04:00
Sebastián Estévez
b9f109ea7d
Merge branch 'main' into multi-embedding-support 2025-10-11 02:44:16 -04:00
phact
5a4d5158bc crank langflow timeout 2025-10-11 00:52:56 -04:00
phact
102c17d7ec WIP, non-langflow mode only 2025-10-10 09:43:37 -04:00
Copilot
140d24603d
Implement dynamic Ollama embedding dimension resolution with server probing (#237)
* Initial plan

* Implement dynamic Ollama embedding dimension resolution with probing

Co-authored-by: phact <1313220+phact@users.noreply.github.com>

* Fix Ollama probing

* raise instead of dims 0

* Show better error

* Run embedding probe before saving settings so that user can update

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: phact <1313220+phact@users.noreply.github.com>
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: phact <estevezsebastian@gmail.com>
2025-10-09 16:40:58 -03:00
phact
8e1fd7a7fe tui and backend: handle langflow optional password config 2025-10-08 16:47:55 -04:00
phact
13c33fca8f remove logging 2025-10-07 02:11:51 -04:00
phact
5e48d7b791 trace logging 2025-10-07 02:07:06 -04:00
phact
31e49106fa dotenv override=False 2025-10-07 01:34:01 -04:00
Lucas Oliveira
ea61aa7136 added url ingest id to everything 2025-10-03 17:29:28 -03:00
Edwin Jose
14b0f30107
Merge branch 'main' into lfx-openrag-update-flows 2025-09-30 15:52:18 -04:00
Mike Fortman
d015ed1b0c
add container utils (#151)
* add container utils

* added localhost url to settings

* added localhost_url as a constant

* added localhost_url to get settings query

* make ollama onboarding have localhost url by default

* make endpoint be changed in models service and in onboarding backend instead of onboarding screen

* fixed embedding dimensions to get stripped model

* make config come as localhost but global variable be set as the transformed endpoint

* remove setting ollama url since it comes from the global variable

* use localhost again on ollama

---------

Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
2025-09-30 16:34:55 -03:00
Edwin Jose
9a45d31481
Merge branch 'main' into lfx-openrag-update-flows 2025-09-29 16:28:46 -04:00
Lucas Oliveira
643acaab74 changed component ids to display names 2025-09-29 16:42:49 -03:00
phact
0a49898fca Merge branch 'main' into shared-process-document-common-refactor 2025-09-29 12:12:10 -04:00
phact
21697c7952 merge 2025-09-29 12:11:47 -04:00
Lucas Oliveira
00477cac99 fix: update onboarding design, make opensearch index be initialized after onboarding, make flow reset change the models to the provider chosen (#100)
* changed tooltip stype

* added start on label wrapper

* changed switch to checkbox on openai onboarding and changed copies

* made border be red when api key is invalid

* Added embedding configuration after onboarding

* changed openrag ingest docling to have same embedding model component as other flows

* changed flows service to get flow by id, not by path

* modify reset_langflow to also put right embedding model

* added endpoint and project id to provider config

* added replacing the model with the provider model when resetting

* Moved consts to settings.py

* raise when flow_id is not found
2025-09-26 12:04:17 -03:00
Lucas Oliveira
e0015f35db
fix: update onboarding design, make opensearch index be initialized after onboarding, make flow reset change the models to the provider chosen (#100)
* changed tooltip stype

* added start on label wrapper

* changed switch to checkbox on openai onboarding and changed copies

* made border be red when api key is invalid

* Added embedding configuration after onboarding

* changed openrag ingest docling to have same embedding model component as other flows

* changed flows service to get flow by id, not by path

* modify reset_langflow to also put right embedding model

* added endpoint and project id to provider config

* added replacing the model with the provider model when resetting

* Moved consts to settings.py

* raise when flow_id is not found
2025-09-26 12:04:17 -03:00
phact
1b9d56bec0 WIP 2025-09-24 21:13:26 -04:00
Mike Fortman
ee16809c14
Merge branch 'main' into docling-presets 2025-09-23 15:14:05 -05:00
Mike Fortman
e67fc21a9b update flow based on docling presets 2025-09-22 16:58:12 -05:00
Lucas Oliveira
c6794adca9
fix: make different providers have their edges connected, redirect to main page from onboarding (#58)
* Changed flows and components to support different models

* Changed onboarding to redirect automatically

* Added new components and ids to settings

* Changed flows service to change llm text components as well

* changed models service to not remove : on ollama

* fix edge not connecting on nudges flow
2025-09-22 18:02:56 -03:00
Mike Fortman
de733eee70
Merge pull request #50 from langflow-ai/feat/onboarding
Add onboarding and update settings
2025-09-22 14:14:54 -05:00
Lucas Oliveira
ccac068e2d added right component ids and added function to overwrite global variable 2025-09-22 12:59:41 -03:00
phact
9d57c352e8 merge 2025-09-19 11:06:50 -04:00
phact
dc91f55014 doc processing knobs 2025-09-18 16:27:01 -04:00
Deon Sanchez
ed0306bde3 revert settings 2025-09-17 17:34:35 -06:00
Deon Sanchez
3d74edfe3c Enhance Knowledge Page with Bulk Document Deletion
- Implemented bulk selection and deletion functionality in the Knowledge page.
- Added a confirmation dialog for bulk deletions, providing user feedback on success or failure.
- Updated AgGrid configuration to support multiple row selection and checkbox functionality.
- Styled checkboxes for better visibility and user experience.
- Refactored related components to accommodate new bulk actions.
2025-09-17 17:31:51 -06:00
Lucas Oliveira
e1b4c1b9b7 add additional paths in config 2025-09-17 17:42:38 -03:00
Lucas Oliveira
03b827f3e0 Added settings service and added post endpoint to edit them 2025-09-17 16:50:19 -03:00
Edwin Jose
1531c6a9f5 Merge branch 'ingestion-flow' into langflow-ingestion-modes 2025-09-08 16:51:29 -04:00
Sebastián Estévez
084502c0b6
Merge branch 'main' into ingestion-flow 2025-09-08 16:29:13 -04:00
Edwin Jose
72e87eb702 change the parameter! 2025-09-08 15:42:20 -04:00
Lucas Oliveira
d6bf6444e5 Merge remote-tracking branch 'origin/main' into feat/nudges 2025-09-08 16:25:59 -03:00
Edwin Jose
3cb379370e ingestion modes for the default files 2025-09-08 13:48:45 -04:00
Gabriel Luiz Freitas Almeida
7b5589653a Add handling for Content-Type header in AppClients
This commit modifies the AppClients class to remove the Content-Type header if it is explicitly set to None, particularly for file uploads. This change enhances the robustness of the async code by ensuring proper header management during API requests, aligning with the project's focus on well-documented and maintainable code.
2025-09-08 08:43:32 -03:00
Eric Hare
9719443243
Merge branch 'main' into feat-googledrive-enhancements 2025-09-05 13:48:22 -07:00
Gabriel Luiz Freitas Almeida
89246ed1ae Refactor Langflow API integration in AppClients
This commit updates the settings for LANGFLOW_INGEST_FLOW_ID to remove reliance on a deprecated environment variable. It introduces a new Langflow HTTP client for making API requests and adds a centralized method for handling Langflow API requests, improving code organization and maintainability. The changes enhance the robustness of the async code while ensuring proper documentation practices are followed.
2025-09-05 11:33:37 -03:00
Gabriel Luiz Freitas Almeida
531ff8b6ac Merge branch 'main' into ingestion-flow 2025-09-05 10:26:38 -03:00
phact
d198ffa706 logging & format 2025-09-04 20:56:47 -04:00
Lucas Oliveira
aad89b9166 Add nudges service into backend 2025-09-04 18:15:46 -03:00
Gabriel Luiz Freitas Almeida
c4185bb33f Merge branch 'main' into ingestion-flow 2025-09-04 17:59:43 -03:00
Eric Hare
15707a3228
Merge branch 'main' into feat-googledrive-enhancements 2025-09-04 09:39:23 -07:00
Gabriel Luiz Freitas Almeida
4bd2bd7765 Merge branch 'main' into ingestion-flow 2025-09-04 11:46:33 -03:00
Gabriel Luiz Freitas Almeida
e1d58c7421 Implement backwards compatibility for flow ID handling and enhance API key generation process
This commit introduces backwards compatibility for the flow ID by allowing the use of the deprecated FLOW_ID environment variable while issuing deprecation warnings. Additionally, the API key generation process has been improved with validation checks for cached keys and enhanced error handling. The Langflow client initialization has been updated to ensure proper handling of environment variables, contributing to a more robust and well-documented codebase.
2025-09-04 10:23:10 -03:00