refactor settings

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-08-04 00:04:35 -03:00
commit b81b596b55
23 changed files with 109 additions and 89 deletions

View file

@ -7,7 +7,7 @@ def test_prompts_settings(client: TestClient):
assert response.status_code == 200
json_response = response.json()
prompts = json_response["prompts"]
assert set(prompts.keys()) == set(settings.prompts)
assert set(prompts.keys()) == set(settings.PROMPTS)
def test_prompt_template(client: TestClient):