Fix tweaks to pass load_from_db=False
This commit is contained in:
parent
c8c78f83d8
commit
b19890fa4d
1 changed files with 3 additions and 1 deletions
|
|
@ -91,7 +91,9 @@ class LangflowFileService:
|
||||||
# Pass JWT token via tweaks using the x-langflow-global-var- pattern
|
# Pass JWT token via tweaks using the x-langflow-global-var- pattern
|
||||||
if jwt_token:
|
if jwt_token:
|
||||||
# Using the global variable pattern that Langflow expects for OpenSearch components
|
# Using the global variable pattern that Langflow expects for OpenSearch components
|
||||||
tweaks["OpenSearchVectorStoreComponent-YnJox"] = {"jwt_token": jwt_token}
|
tweaks["OpenSearchVectorStoreComponent-YnJox"] = {
|
||||||
|
"jwt_token": {"value": jwt_token, "load_from_db": False},
|
||||||
|
}
|
||||||
logger.debug("[LF] Added JWT token to tweaks for OpenSearch components")
|
logger.debug("[LF] Added JWT token to tweaks for OpenSearch components")
|
||||||
else:
|
else:
|
||||||
logger.warning("[LF] No JWT token provided")
|
logger.warning("[LF] No JWT token provided")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue