🐛 fix(test_agents_template.py): set "required" field to True for the "tools" attribute in the template dictionary to enforce its presence

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-10-04 17:46:45 -03:00
commit bc421d7557

View file

@ -241,7 +241,7 @@ def test_initialize_agent(client: TestClient, logged_in_headers):
"info": "", "info": "",
} }
assert template["tools"] == { assert template["tools"] == {
"required": False, "required": True,
"dynamic": False, "dynamic": False,
"placeholder": "", "placeholder": "",
"show": True, "show": True,