Merge branch 'login' of https://github.com/logspace-ai/langflow into login
This commit is contained in:
commit
7dcb534eb3
3 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ from langchain.schema import Document
|
|||
from langchain.vectorstores.base import VectorStore
|
||||
from langchain.schema import BaseRetriever
|
||||
from langchain.embeddings.base import Embeddings
|
||||
import chromadb
|
||||
import chromadb # type: ignore
|
||||
|
||||
|
||||
class ChromaComponent(CustomComponent):
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ export function AuthProvider({ children }): React.ReactElement {
|
|||
function logout() {
|
||||
cookies.remove("access_token", { path: "/" });
|
||||
cookies.remove("refresh_token", { path: "/" });
|
||||
setIsAdmin(false);
|
||||
setUserData(null);
|
||||
setAccessToken(null);
|
||||
setRefreshToken(null);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ export default function CodeAreaModal({
|
|||
if (dynamic && Object.keys(nodeClass!.template).length > 2) {
|
||||
return;
|
||||
}
|
||||
if (!isTweakPage) processCode();
|
||||
}, []);
|
||||
|
||||
function processNonDynamicField() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue