refactor(validate.py): change wrapped_function from async to sync
fix(test_chains_template.py): set prompt show value to False for mid_journey_prompt_chain and time_travel_guide_chain tests
This commit is contained in:
parent
07863ea098
commit
357d13b1a9
2 changed files with 3 additions and 3 deletions
|
|
@ -462,7 +462,7 @@ def test_mid_journey_prompt_chain(client: TestClient):
|
|||
assert template["prompt"] == {
|
||||
"required": False,
|
||||
"placeholder": "",
|
||||
"show": True,
|
||||
"show": False,
|
||||
"multiline": False,
|
||||
"value": {
|
||||
"input_variables": ["history", "input"],
|
||||
|
|
@ -590,7 +590,7 @@ def test_time_travel_guide_chain(client: TestClient):
|
|||
assert template["prompt"] == {
|
||||
"required": False,
|
||||
"placeholder": "",
|
||||
"show": True,
|
||||
"show": False,
|
||||
"multiline": False,
|
||||
"value": {
|
||||
"input_variables": ["history", "input"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue