langflow/src
Gabriel Luiz Freitas Almeida 7817c64591 🐛 fix(endpoints.py): change predict_flow function signature to include flow_id and session dependencies
 feat(endpoints.py): add flow_id parameter to predict_flow function to allow for running a flow by ID
The predict_flow function now includes a flow_id parameter and a session dependency to allow for running a flow by ID. The flow object is retrieved from the session using the flow_id parameter. If the flow is not found, a ValueError is raised.

🔨 refactor(constants.tsx): change API_URL constant to BASE_API_URL and add flow_id parameter to run_flow function
The API_URL constant has been renamed to BASE_API_URL to better reflect its purpose. The run_flow function now includes a flow_id parameter to allow for running a flow by ID. The flow_id parameter is used to construct the API URL.
2023-06-14 07:21:25 -03:00
..
backend 🐛 fix(endpoints.py): change predict_flow function signature to include flow_id and session dependencies 2023-06-14 07:21:25 -03:00
frontend 🐛 fix(endpoints.py): change predict_flow function signature to include flow_id and session dependencies 2023-06-14 07:21:25 -03:00