Commit graph

4 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
73bd0631c7 Refactor ingestion flow validation logic in settings.py
This commit updates the ingestion flow validation process by replacing the previous API call with a new service, LangflowFileService, to validate the flow and retrieve component information. The flow validation results are now added to the settings, enhancing the context for other endpoints. Error handling is improved to ensure that flow validation failures are logged appropriately while maintaining default settings.
2025-09-09 17:07:12 -03:00
Gabriel Luiz Freitas Almeida
2fbb8d8430 Implement async fetching of ingestion flow configuration
This commit adds functionality to retrieve and set ingestion-specific defaults from the Langflow API based on the flow configuration. It includes error handling for the API call and updates the settings with values for chunk size, chunk overlap, separator, and embedding model based on the flow data. This enhancement improves the flexibility and robustness of the ingestion process.
2025-09-04 18:31:38 -03:00
Gabriel Luiz Freitas Almeida
83438a7c93 Refactor settings.py to enhance settings retrieval and improve flow ID handling
This commit updates the settings retrieval function to include new flow IDs for chat and ingestion, replacing the deprecated FLOW_ID. It also improves the logic for exposing edit URLs based on the availability of public URLs, contributing to a more robust and well-documented codebase.
2025-09-04 10:23:54 -03:00
phact
c97477a4ca settings for LANGFLOW_URL 2025-08-27 23:10:22 -04:00