OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.
Python
ensure model selections are reflected in LF (#1475)
Mike Fortman55e5b009bd06
diff --git a/src/api/settings.py b/src/api/settings.pyindex 61d3c1b3a..ea2042566 100644--- a/src/api/settings.py+++ b/src/api/settings.py@@ -1440,7 +1440,14 @@ async def _run_async_post_save_langflow_updates(# Update model values if provider/model changed (including removals/fallbacks)if update_model_values:- await _update_langflow_model_values(current_config, flows_service)+ await _update_langflow_model_values(+ current_config,+ flows_service,+ llm_model=current_config.agent.llm_model,+ llm_provider=current_config.agent.llm_provider,+ embedding_model=current_config.knowledge.embedding_model,+ embedding_provider=current_config.knowledge.embedding_provider,+ )logger.info("Completed asynchronous Langflow post-save sync")except Exception as e: