Update template files with new fileTypes field
This commit is contained in:
parent
72a16ef607
commit
628855c50d
4 changed files with 81 additions and 1 deletions
|
|
@ -31,6 +31,7 @@ def test_prompt_template(client: TestClient, logged_in_headers):
|
|||
"list": True,
|
||||
"advanced": False,
|
||||
"info": "",
|
||||
"fileTypes": [],
|
||||
}
|
||||
|
||||
assert template["output_parser"] == {
|
||||
|
|
@ -45,6 +46,7 @@ def test_prompt_template(client: TestClient, logged_in_headers):
|
|||
"list": False,
|
||||
"advanced": False,
|
||||
"info": "",
|
||||
"fileTypes": [],
|
||||
}
|
||||
|
||||
assert template["partial_variables"] == {
|
||||
|
|
@ -59,6 +61,7 @@ def test_prompt_template(client: TestClient, logged_in_headers):
|
|||
"list": False,
|
||||
"advanced": False,
|
||||
"info": "",
|
||||
"fileTypes": [],
|
||||
}
|
||||
|
||||
assert template["template"] == {
|
||||
|
|
@ -73,6 +76,7 @@ def test_prompt_template(client: TestClient, logged_in_headers):
|
|||
"list": False,
|
||||
"advanced": False,
|
||||
"info": "",
|
||||
"fileTypes": [],
|
||||
}
|
||||
|
||||
assert template["template_format"] == {
|
||||
|
|
@ -88,6 +92,7 @@ def test_prompt_template(client: TestClient, logged_in_headers):
|
|||
"list": False,
|
||||
"advanced": False,
|
||||
"info": "",
|
||||
"fileTypes": [],
|
||||
}
|
||||
|
||||
assert template["validate_template"] == {
|
||||
|
|
@ -103,4 +108,5 @@ def test_prompt_template(client: TestClient, logged_in_headers):
|
|||
"list": False,
|
||||
"advanced": False,
|
||||
"info": "",
|
||||
"fileTypes": [],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue