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.vectorstores.base import VectorStore
|
||||||
from langchain.schema import BaseRetriever
|
from langchain.schema import BaseRetriever
|
||||||
from langchain.embeddings.base import Embeddings
|
from langchain.embeddings.base import Embeddings
|
||||||
import chromadb
|
import chromadb # type: ignore
|
||||||
|
|
||||||
|
|
||||||
class ChromaComponent(CustomComponent):
|
class ChromaComponent(CustomComponent):
|
||||||
|
|
|
||||||
|
|
@ -91,6 +91,7 @@ export function AuthProvider({ children }): React.ReactElement {
|
||||||
function logout() {
|
function logout() {
|
||||||
cookies.remove("access_token", { path: "/" });
|
cookies.remove("access_token", { path: "/" });
|
||||||
cookies.remove("refresh_token", { path: "/" });
|
cookies.remove("refresh_token", { path: "/" });
|
||||||
|
setIsAdmin(false);
|
||||||
setUserData(null);
|
setUserData(null);
|
||||||
setAccessToken(null);
|
setAccessToken(null);
|
||||||
setRefreshToken(null);
|
setRefreshToken(null);
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@ export default function CodeAreaModal({
|
||||||
if (dynamic && Object.keys(nodeClass!.template).length > 2) {
|
if (dynamic && Object.keys(nodeClass!.template).length > 2) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!isTweakPage) processCode();
|
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
function processNonDynamicField() {
|
function processNonDynamicField() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue