chore(base.py): add type ignore comment to clear_cache function
fix(base.py): raise ValueError if content is None in save_binary_file function feat(nodes.py): add memory field to TimeTravelGuideChainNode test(test_chains_template.py): add test for memory field in TimeTravelGuideChainNode
This commit is contained in:
parent
db951cde20
commit
64bf97ff84
3 changed files with 21 additions and 2 deletions
|
|
@ -435,5 +435,16 @@ def test_time_travel_guide_chain(client: TestClient):
|
|||
"list": False,
|
||||
"advanced": False,
|
||||
}
|
||||
assert template["memory"] == {
|
||||
"required": False,
|
||||
"placeholder": "",
|
||||
"show": True,
|
||||
"multiline": False,
|
||||
"password": False,
|
||||
"name": "memory",
|
||||
"type": "BaseChatMemory",
|
||||
"list": False,
|
||||
"advanced": False,
|
||||
}
|
||||
|
||||
assert chain["description"] == "Time travel guide chain to be used in the flow."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue