Docs: update screenshots with new UI changes (#4579)
* remove-images * logs-pane * logs * more-logs * langsmith-langwatch * guides-folder * quickstart * follow-image * getting-started-folder * share-store-change * workspace-old-images * component-folder * deployment-folder * configuration-folder * delete-venv * favicon-footer-header * favicon-bw-and-replace-gif * docs: Update prerequisites and terminology in Getting Started and Workspace documentation * docs: Update terminology from "New Project" to "New Flow" in starter project documentation * Apply suggestions from code review Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com> * docs: Update terminology from "project" to "flow" in starter project documentation * docs: Update terminology from "project" to "flow" in starter project documentation --------- Co-authored-by: KimberlyFields <46325568+KimberlyFields@users.noreply.github.com>
|
Before Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 350 KiB |
|
Before Width: | Height: | Size: 341 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 171 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 833 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
|
@ -4,48 +4,45 @@ sidebar_position: 6
|
|||
slug: /configuration-auto-save
|
||||
---
|
||||
|
||||
Langflow currently supports both manual and auto-saving functionality.
|
||||
Langflow supports both manual and auto-saving functionality.
|
||||
|
||||
## Auto-saving {#auto-saving}
|
||||
|
||||
When Langflow is in Auto-saving mode, all changes are saved automatically. Auto-save progress is indicated in the left side of the top bar: when a flow is being saved, a Loading icon indicates that the flow is being saved in the database.
|
||||
When Langflow is in auto-saving mode, all changes are saved automatically. Auto-save progress is indicated in the left side of the top bar.
|
||||
|
||||

|
||||
* When a flow is being saved, a loading icon indicates that the flow is being saved in the database.
|
||||
|
||||
If you try to exit the flow page before auto-save completes, a dialog will appear to confirm you want to exit before the flow has saved.
|
||||
* If you try to exit the flow page before auto-save completes, you are prompted to confirm you want to exit before the flow has saved.
|
||||
|
||||

|
||||
* When the flow has successfully saved, click **Exit**.
|
||||
|
||||
When the flow has successfully saved, you can click the 'Exit' button.
|
||||
## Disable auto-saving {#environment}
|
||||
|
||||

|
||||
To disable auto-saving,
|
||||
|
||||
## Manual Saving {#manual-saving}
|
||||
|
||||
When auto-saving is disabled, you need to manually save your flow when making changes. You can still run the flow without saving, for testing purposes.
|
||||
|
||||
If you make any changes and Langflow detects that the saved flow is different from the current flow, a Save button will be enabled and the last time saved will appear at the left side of the topbar. To save the flow, click the Save button, or hit Ctrl+S or Command+S.
|
||||
|
||||

|
||||
|
||||
If you try to exit after making changes and not saving, a confirmation dialog will appear. You can choose to exit anyway or save and exit.
|
||||
|
||||

|
||||
|
||||
## Disable Auto Saving {#environment}
|
||||
|
||||
In Langflow, all changes made in the flows are saved automatically. However, you may prefer to disable this functionality, if you want a quick way to prototype and test changes before they are actually saved to the database.
|
||||
|
||||
If you wish to disable this functionality, you can run Langflow with an environment variable to tell Langflow to use manual saving.
|
||||
|
||||
```shell
|
||||
langflow --no-auto-saving
|
||||
# or
|
||||
python -m langflow --no-auto-saving
|
||||
```
|
||||
|
||||
If you installed the local version of Langflow, you can set an environment variable and load it automatically by inserting this line into the `.env` file inside the directory.
|
||||
1. Set an environment variable in your `.env` file.
|
||||
|
||||
```env
|
||||
LANGFLOW_AUTO_SAVING=false
|
||||
```
|
||||
|
||||
2. Start Langflow with the values from your `.env` file.
|
||||
|
||||
```shell
|
||||
python -m langflow run --env-file .env
|
||||
```
|
||||
|
||||
Alternatively, disable auto-saving by passing the `--no-auto-saving` flag at startup.
|
||||
|
||||
```shell
|
||||
python -m langflow --no-auto-saving
|
||||
```
|
||||
|
||||
## Save a flow manually {#manual-saving}
|
||||
|
||||
When auto-saving is disabled, you will need to manually save your flow when making changes.
|
||||
|
||||
To manually save your flow, click the **Save** button or enter Ctrl+S or Command+S.
|
||||
|
||||
If you try to exit after making changes and not saving, a confirmation dialog appears.
|
||||
|
||||
|
|
|
|||
|
|
@ -41,8 +41,6 @@ Because values are encrypted, you can't view the actual values of your global va
|
|||
In **Settings > Global Variables**, the **Value** column shows the encrypted hash for **Generic** type variables, and shows nothing for **Credential** type variables.
|
||||
:::
|
||||
|
||||
<ReactPlayer controls url="https://youtu.be/RedPOCsYNAM" />
|
||||
|
||||
## Edit a global variable
|
||||
|
||||
1. In the Langflow UI, click your profile icon, and then select **Settings**.
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 46 KiB |