Merge branch 'form_io' of github.com:logspace-ai/langflow into form_io
This commit is contained in:
commit
da5aa1e05b
1 changed files with 3 additions and 0 deletions
|
|
@ -44,4 +44,7 @@ def build_input_keys_response(langchain_object):
|
||||||
# Add memory variables to memory_keys
|
# Add memory variables to memory_keys
|
||||||
input_keys_response["memory_keys"] = langchain_object.memory.memory_variables
|
input_keys_response["memory_keys"] = langchain_object.memory.memory_variables
|
||||||
|
|
||||||
|
if hasattr(langchain_object, "prompt"):
|
||||||
|
input_keys_response["template"] = langchain_object.prompt.template
|
||||||
|
|
||||||
return input_keys_response
|
return input_keys_response
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue