Commit graph

149 commits

Author SHA1 Message Date
Cole Goldsmith
b88c8b20df
Feat/provider validation banner (#353)
* models query combined

* make endpoint to handle provider health

* provider health banner

* update-pdf-to-include-provider-selection (#344)

* polishing the error fixing experience

* fix agent instructions and up char limit

* fix provider

* disable tracing in langflow

* improve docling serve banner remove false positives

* Changed pyproject.toml docling versions

* Added another uv lock revision

* version bump

* unused things and fix bad conflicts

* add isFetching to the hook

* put back settings for models queries to never cache results

* update banner refetching indicator

* validate provider settings when saving

* fix settings page layout issue

* Added retry as false on the get models, to not take a long time

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
Co-authored-by: phact <estevezsebastian@gmail.com>
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
2025-11-06 13:03:50 -06:00
Mike Fortman
69d2132a33 fix provider 2025-11-04 12:59:23 -06:00
Cole Goldsmith
2d31c4b9b0
Feat/278 Edit current model provider settings (#307)
* update settings update api to allow changing model provider config

* use react hook form

* make settings page small width

* re-use the onboarding forms instead of rolling a custom one

* issue

* remove test

* make custom forms with react-hook-form

* replace the updateFlow mutation with updateSettings

* show all the model providers

* revert changes to onboarding forms

* disabled state styles for providers

* break model selectors into their own file

* use existing selector component, use settings endpoint instead of onboarding, clean up form styles

* revert changes to openai onboarding

* small form changes
2025-10-31 13:22:51 -05: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
Lucas Oliveira
7b635df9d0
fix: added better onboarding error handling, added probing api keys and models (#326)
* Added error showing to onboarding card

* Added error state on animated provider steps

* removed toast on error

* Fixed animation on onboarding card

* fixed animation time

* Implemented provider validation

* Added provider validation before ingestion

* Changed error border

* remove log

---------

Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
2025-10-29 15:59:10 -03:00
phact
e3353bb0f8 loosen reconfigure check 2025-10-24 04:11:58 -04:00
Lucas Oliveira
cfd28ede6e Fix backend file context upload 2025-10-23 18:30:35 -03:00
phact
77edef26f7 fix conftest and more optionals 2025-10-14 12:17:07 -04:00
phact
9674021fae v0.1.24 2025-10-14 12:15:45 -04:00
Sebastián Estévez
b9f109ea7d
Merge branch 'main' into multi-embedding-support 2025-10-11 02:44:16 -04:00
phact
81901c666b fix: ensure /settings changes embedding models across all flows 2025-10-11 00:05:07 -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
a5aab8e92a podman fixes: bind docling-serve to 0.0, improve logging, support magic podman and docker hostnames 2025-10-08 13:56:52 -04:00
phact
08f441c0e5 backend fix 2025-10-06 21:22:44 -04:00
phact
7763dc5d48 fix: file tuple for ingest 2025-10-06 16:25:05 -04:00
Lucas Oliveira
95bdc59af0 Use opensearch queries on documents and processors 2025-10-06 09:45:33 -03:00
Edwin Jose
5ea70cc779
Refactor file upload task to use filename mapping (#195)
Changed the handling of original filenames in Langflow upload tasks to use a mapping from file paths to original filenames instead of a list. Updated both the API router and TaskService to support this change, improving reliability when associating uploaded files with their original names.
2025-10-03 17:17:05 -03:00
Lucas Oliveira
589839fedc implement duplicate handling on backend and frontend 2025-10-03 15:34:54 -03:00
Lucas Oliveira
efb74f5ab0 Merge remote-tracking branch 'origin/main' into fix/tasks_ingest 2025-10-03 09:39:58 -03:00
Lucas Oliveira
179a7403cc fixed router, langflow files and processors to not use temp names 2025-10-02 18:09:18 -03:00
Lucas Oliveira
11464f031e Merge remote-tracking branch 'origin/main' into lfx-openrag-update-flows 2025-10-02 17:40:19 -03:00
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
Lucas Oliveira
e4b9ebb186 deleted docling component id 2025-10-01 12:40:12 -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
Lucas Oliveira
7d53242eaa Merge remote-tracking branch 'origin/main' into lfx-openrag-update-flows 2025-09-30 16:28:38 -03:00
Mike Fortman
c46e9208cc Merge branch 'main' of github.com:langflow-ai/openrag into docling-settings 2025-09-29 16:47:12 -05:00
Mike Fortman
2341bf4700 Update docling preset options 2025-09-29 16:40:29 -05:00
Edwin Jose
9a45d31481
Merge branch 'main' into lfx-openrag-update-flows 2025-09-29 16:28:46 -04:00
Lucas Oliveira
1eeabeb370 changed signature 2025-09-29 16:43:35 -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
Edwin Jose
b51efd0d5e
Merge branch 'main' into lfx-openrag-update-flows 2025-09-26 12:16:02 -05: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
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
Eric Hare
f03889a2b3
Finally fix MSAL in onedrive/sharepoint 2025-09-25 13:12:27 -07:00
Eric Hare
349ad80ffd Finally fix MSAL in onedrive/sharepoint 2025-09-25 13:12:27 -07:00
Edwin Jose
81300fdf9a Merge branch 'main' into lfx-openrag-update-flows 2025-09-25 15:40:33 -04:00
Edwin Jose
425b673e14 update to flow 2025-09-25 15:39:42 -04:00
Eric Hare
5e14c7f100
Merge branch 'main' into feat-sharepoint-auth 2025-09-25 10:22:59 -07:00
Eric Hare
acf19bd4dc Merge branch 'main' into feat-sharepoint-auth 2025-09-25 10:22:59 -07: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
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
Mike Fortman
3de1495465 settings updates for true flow updates 2025-09-24 11:49:35 -05:00
Edwin Jose
f710ae2137 Merge branch 'main' into lfx-openrag-update-flows 2025-09-24 11:39:09 -04: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
Eric Hare
67c35a3619
Merge branch 'main' into feat-sharepoint-auth 2025-09-23 10:05:49 -07:00
Eric Hare
dc02c54e92 Merge branch 'main' into feat-sharepoint-auth 2025-09-23 10:05:49 -07:00