Commit graph

138 commits

Author SHA1 Message Date
Lucas Oliveira
52896a8da7
fix: set defined models for openai, make default embedding be used when disable ingest with LF feature flag is enabled (#128)
* hard-coded openai models

* ensure index if disable ingest with langflow is active

* update backend to not update embedding model when flag is disabled

* initialize index on startup when feature flag is enabled

* put config.yaml on docker compose
2025-10-01 16:50:21 -03: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
phact
9d412c431d cancel status bug 2025-09-29 15:06:32 -04:00
phact
6612388586 auto cleanup temp files 2025-09-29 14:08:36 -04: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
Edwin Jose
75350b241f Merge branch 'main' into add-header-run-endpoint 2025-09-26 15:06:15 -05: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
Edwin Jose
6c952b7531 Update env vars and header keys for Langflow service
Added OWNER, OWNER_NAME, OWNER_EMAIL, and CONNECTOR_TYPE environment variables to docker-compose.yml. Updated LANGFLOW_VARIABLES_TO_GET_FROM_ENVIRONMENT to match. Changed header keys in langflow_file_service.py to uppercase and ensured values are stringified for consistency.
2025-09-26 10:35:39 -04:00
Edwin Jose
e5a5056f86 Add custom headers to Langflow ingestion requests
Introduces custom headers containing JWT and owner information to the Langflow ingestion API requests for improved authentication and traceability. Also refactors debug logging and formatting for better readability and error handling in the combined upload, ingest, and delete operation.
2025-09-25 15:45:32 -04:00
phact
1b9d56bec0 WIP 2025-09-24 21:13:26 -04:00
Lucas Oliveira
28e566a1f4
feat: add session delete functionality (#70)
* implement delete user conversation on agent

* format

* implement delete session endpoint

* implement delete session on persistence services

* added deletion of sessions and added fetch sessions with query instead of with useEffect

* removed unused texts

* implemented dropdown menu on conversations
2025-09-24 17:41:53 -03:00
Mike Fortman
fc2e20b150 fix agent settings 2025-09-24 15:17:40 -05:00
Mike Fortman
56541abb4d
Merge pull request #71 from langflow-ai/setting-updates
settings updates for true flow updates
2025-09-24 14:53:00 -05:00
Mike Fortman
03f9f25a51 pr feedback 2025-09-24 14:20:29 -05:00
Deon Sanchez
be8e13a173
feat: add knowledge status (#53)
* feat: add status handling and visual indicators for file statuses

* refactor: comment out status field and related rendering logic in SearchPage

* format

* add timeout on mutation delete document

* make file fields be optional

* fetch task files and display them on knowledge page

* add tasks to files inside task context

* added failed to status badge

* added files on get all tasks on backend

* Changed models to get parameters by settings if not existent

* changed settings page to get models when is no ajth mode

* fixed openai allowing validation even when value is not present

* removed unused console log

---------

Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-09-24 10:27:59 -03:00
Mike Fortman
917b078c20 old tweaks cleanup 2025-09-23 16:01:02 -05:00
Cole Goldsmith
744a799c11 Merge branch 'main' into feat/move-filters 2025-09-23 09:27:01 -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
Cole Goldsmith
a343d94cb9 Merge branch 'main' into feat/move-filters 2025-09-22 15:02:31 -05: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
dfd60574d0 changed regex to replace everything related to the old edges and nodes, changed update_provider_components to get updated flow from langflow 2025-09-22 13:15:04 -03:00
Lucas Oliveira
34add855ca added function to update model parameters on flows service 2025-09-22 13:00:37 -03:00
Lucas Oliveira
ce9859a031 changed models service to check embedding and llm models 2025-09-22 11:19:10 -03:00
Cole Goldsmith
8d5791971d Merge branch 'main' into feat/move-filters 2025-09-22 09:02:16 -05:00
Mike Fortman
abb1ae0819 Merge branch 'feat/onboarding' of github.com:langflow-ai/openrag into feat/onboarding 2025-09-20 11:05:10 -05:00
Mike Fortman
7da9b98204 add docling presets 2025-09-20 11:05:01 -05:00
Lucas Oliveira
43f94f9f4b added model validation and onboarding finishing 2025-09-20 12:09:27 -03:00
Cole Goldsmith
4291cf5d45 Merge branch 'main' into feat/move-filters 2025-09-19 15:21:25 -05:00
Cole Goldsmith
8f3b149034 add more mutation queries and fix backend to wait for updates 2025-09-19 15:21:18 -05:00
Edwin Jose
5d43bb1abb
Merge branch 'main' into feat-add-owner-info-env 2025-09-19 13:45:12 -04:00
phact
f81bff1043 task tracking running jobs 2025-09-19 11:22:01 -04:00
Mike Fortman
9ad1fb3f4f Merge branch 'main' of github.com:langflow-ai/openrag into feat/onboarding 2025-09-18 21:04:37 -05:00
Edwin Jose
9dfe067e1e Add global var headers to MCP server updates
Extend AuthService and LangflowMCPService to support updating MCP servers with multiple global variable headers (JWT, OWNER, OWNER_NAME, OWNER_EMAIL) during login. This enables passing user context to MCP servers via custom headers, improving downstream identification and authorization.
2025-09-18 20:55:03 -04:00
Lucas Oliveira
d68a787017 Added models fetching 2025-09-18 18:25:00 -03:00
Deon Sanchez
9b5a7be8b0 Merge branch 'main' of https://github.com/langflow-ai/openrag into delete-knowledge 2025-09-18 14:09:51 -06:00
Edwin Jose
e89c4fa40f
Merge branch 'main' into feat-add-langflow-mcp-service 2025-09-18 14:14:50 -04:00
Lucas Oliveira
ecf3cf1402 Merge remote-tracking branch 'origin/main' into feat/onboarding 2025-09-18 14:19:05 -03:00
phact
096c1803b5 fix: no-auth process directory tasks bug 2025-09-18 12:56:15 -04:00
Lucas Oliveira
7010c73c50 Add assign model provider function to replace the flow with components 2025-09-17 17:43:14 -03:00
Edwin Jose
713f90c3c4 Integrate Langflow MCP JWT header update in AuthService
Added LangflowMCPService to update MCP servers with the user's JWT header after authentication. AuthService now triggers a background update to MCP servers on successful login, ensuring JWT propagation for downstream services.
2025-09-17 02:01:03 -04:00
Deon Sanchez
f28ba54da3 Implement Delete Confirmation Dialog and Enhance Knowledge Dropdown
- Added a new `DeleteConfirmationDialog` component for confirming deletions.
- Updated `KnowledgeDropdown` to include a loading state and improved user feedback during file operations.
- Enhanced the search page to support bulk deletion of documents with confirmation dialog.
- Integrated event dispatching for knowledge updates after file operations.
- Refactored various components for better readability and maintainability.
2025-09-16 16:07:49 -06:00
Edwin Jose
6dbcf5dbf5 Update langflow_history_service.py 2025-09-10 13:10:42 -04:00
Edwin Jose
6f76044395 Merge branch 'main' into fix-logger 2025-09-10 13:10:08 -04:00
Edwin Jose
4212c1025c Update session_ownership_service.py 2025-09-10 12:42:09 -04:00
Edwin Jose
8390653861 Update langflow_history_service.py 2025-09-10 12:42:05 -04:00
Edwin Jose
8672c89743 Update conversation_persistence_service.py 2025-09-10 12:41:58 -04:00
Edwin Jose
fe88378d05 Update chat_service.py 2025-09-10 12:41:04 -04:00
phact
e6f3dabcf9 consolidate langflow clients 2025-09-10 12:03:11 -04:00
Sebastián Estévez
5e1e8cc99b
Merge branch 'main' into cz/remove-chat-default 2025-09-09 15:36:13 -04:00