added localhost url to settings

This commit is contained in:
Lucas Oliveira 2025-09-30 15:45:55 -03:00
parent adbd94b176
commit 67e0a53363

View file

@ -8,6 +8,7 @@ from config.settings import (
LANGFLOW_INGEST_FLOW_ID, LANGFLOW_INGEST_FLOW_ID,
LANGFLOW_PUBLIC_URL, LANGFLOW_PUBLIC_URL,
DOCLING_COMPONENT_ID, DOCLING_COMPONENT_ID,
LOCALHOST_URL,
clients, clients,
get_openrag_config, get_openrag_config,
config_manager, config_manager,
@ -77,6 +78,7 @@ async def get_settings(request, session_manager):
"llm_model": agent_config.llm_model, "llm_model": agent_config.llm_model,
"system_prompt": agent_config.system_prompt, "system_prompt": agent_config.system_prompt,
}, },
"localhost_url": LOCALHOST_URL,
} }
# Only expose edit URLs when a public URL is configured # Only expose edit URLs when a public URL is configured