You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Langflow [Version v1.0.0a32]
All global variables are unset from components any time the Langflow UI is refreshed.
Global variables are set and saved with the flow. These work properly when exiting the flow and running the flow via the playground. However, if the browser is refreshed at any point all global variable references in components will be unset.
Any global variables set in components will then be unset
Screenshots
Additional context
Even though the default setting for LANGFLOW_REMOVE_API_KEYS is no-remove-api-keys according to the README https://github.com/langflow-ai/langflow/blob/main/README.md I attempted to explicitly set this value to no effect.
The text was updated successfully, but these errors were encountered:
To address the issue of global variables being unset upon UI refresh in Langflow, consider the following specific steps tailored to Langflow's functionality and your development environment:
Review Langflow's Global Variables Documentation: Ensure you're following the correct procedure for creating and using global variables in Langflow. This involves using the globe icon in text fields to add new variables and accessing them across different components. More details can be found in the Langflow documentation.
Check store_environment_variables Setting: In Langflow, there's a setting that controls whether environment variables are stored as Global Variables in the database, ensuring their persistence across UI refreshes. Make sure this setting is enabled and correctly configured to include the variables you need to persist.
Browser Compatibility: Although you're using Brave, which is Chromium-based and generally compatible with Langflow's requirements, ensure that there are no browser-specific settings or extensions that might interfere with the persistence of global variables.
These steps are directly related to Langflow's handling of global variables and should help in resolving the issue of variables being unset after a UI refresh. If the problem persists, it might be worth reaching out to the Langflow support or community forums for more targeted assistance.
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
Describe the bug
Langflow [Version v1.0.0a32]
All global variables are unset from components any time the Langflow UI is refreshed.
Global variables are set and saved with the flow. These work properly when exiting the flow and running the flow via the playground. However, if the browser is refreshed at any point all global variable references in components will be unset.
Browser and Version
To Reproduce
Steps to reproduce the behavior:
Screenshots
Additional context
Even though the default setting for LANGFLOW_REMOVE_API_KEYS is no-remove-api-keys according to the README https://github.com/langflow-ai/langflow/blob/main/README.md I attempted to explicitly set this value to no effect.
The text was updated successfully, but these errors were encountered: