Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io

This commit is contained in:
Lucas Oliveira 2023-06-28 11:52:44 -03:00
commit 5c22062f72

View file

@ -26,8 +26,9 @@ def remove_api_keys(flow: dict):
def build_input_keys_response(langchain_object):
"""Build the input keys response."""
input_keys_response = {
"input_keys": langchain_object.input_keys,
"input_keys": {key: "" for key in langchain_object.input_keys},
"memory_keys": [],
}
# If the object has memory, that memory will have a memory_variables attribute