From ef1f647b66a00d0ddaf64eea08bceb5306d902a7 Mon Sep 17 00:00:00 2001 From: Mendon Kissling <59585235+mendonk@users.noreply.github.com> Date: Fri, 7 Jun 2024 16:24:32 -0400 Subject: [PATCH] text-between-headers --- docs/docs/administration/api.mdx | 16 ++++++++++------ .../migration/migrating-to-one-point-zero.mdx | 9 --------- .../migration/possible-installation-issues.mdx | 11 ++--------- 3 files changed, 12 insertions(+), 24 deletions(-) diff --git a/docs/docs/administration/api.mdx b/docs/docs/administration/api.mdx index 172a06328..de8533cd2 100644 --- a/docs/docs/administration/api.mdx +++ b/docs/docs/administration/api.mdx @@ -14,9 +14,11 @@ The default values are `langflow` and `langflow`, respectively. -## Generate an API Key +## Generate an API key -### With Langflow UI +Generate a user-specific token to use with Langflow. + +### Generate an API key with the Langflow UI -

- We are currently working on updating this guide to provide the most accurate - and up-to-date information on migrating to Langflow 1.0. We will be adding - more content and examples to help you navigate the changes and improvements - in the new version. -

- - Langflow 1.0 is a significant update that brings many exciting changes and improvements to the platform. This guide will walk you through the key improvements and help you migrate your existing projects to the new version. diff --git a/docs/docs/migration/possible-installation-issues.mdx b/docs/docs/migration/possible-installation-issues.mdx index 791741f5f..feeddab48 100644 --- a/docs/docs/migration/possible-installation-issues.mdx +++ b/docs/docs/migration/possible-installation-issues.mdx @@ -4,14 +4,10 @@ This is a list of possible issues that you may encounter when installing Langflo ## _`No module named 'langflow.__main__'`_ -**TL;DR** - 1. Run _`python -m langflow run`_ instead of _`langflow run`_. 2. If that doesn't work, reinstall Langflow with _`_python -m pip install langflow --pre -U`_. 3. If that doesn't work, reinstall Langflow and its dependencies with _`python -m pip install langflow --pre -U --force-reinstall`_. -### Details - When you try to run Langflow using the command `langflow run`, you may encounter the following error: ```bash @@ -33,15 +29,12 @@ There are two possible reasons for this error: ## _`Something went wrong running migrations. Please, run 'langflow migration --fix'`_ -**TL;DR** +Clear the cache by deleting the contents of the cache folder. -- Clear the cache by deleting the contents of the cache folder. - This folder can be found at: +This folder can be found at: - **Linux or WSL2 on Windows**: `home//.cache/langflow/` - **MacOS**: `/Users//Library/Caches/langflow/` -### Details - This error can occur during Langflow upgrades when the new version can't override `langflow-pre.db` in `.cache/langflow/`. Clearing the cache removes this file but will also erase your settings. If you wish to retain your files, back them up before clearing the folder.