🔧 chore(base.py): rename CACHE variable to CACHE_TYPE for better clarity and consistency
🔧 chore(base.py): add LANGCHAIN_CACHE variable to specify the cache type for langchain
This commit is contained in:
parent
54cfca3dd6
commit
7f2f8d1b0a
1 changed files with 2 additions and 1 deletions
|
|
@ -37,9 +37,10 @@ class Settings(BaseSettings):
|
|||
|
||||
DEV: bool = False
|
||||
DATABASE_URL: Optional[str] = None
|
||||
CACHE: str = "InMemoryCache"
|
||||
CACHE_TYPE: str = "memory"
|
||||
REMOVE_API_KEYS: bool = False
|
||||
COMPONENTS_PATH: List[str] = []
|
||||
LANGCHAIN_CACHE: str = "InMemoryCache"
|
||||
|
||||
@validator("CONFIG_DIR", pre=True, allow_reuse=True)
|
||||
def set_langflow_dir(cls, value):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue