From e7c394698517e1af5386f705ecfad428d222eaf7 Mon Sep 17 00:00:00 2001 From: Gabriel Almeida Date: Mon, 10 Apr 2023 19:15:01 -0300 Subject: [PATCH] style(test_chains_template.py): remove trailing whitespace and fix line length --- tests/test_chains_template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_chains_template.py b/tests/test_chains_template.py index 4e3f6c933..510437797 100644 --- a/tests/test_chains_template.py +++ b/tests/test_chains_template.py @@ -468,7 +468,7 @@ def test_mid_journey_prompt_chain(client: TestClient): "input_variables": ["history", "input"], "output_parser": None, "partial_variables": {}, - "template": "The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n{history}\nHuman: {input}\nAI:", + "template": "The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n{history}\nHuman: {input}\nAI:", # noqa: E501 "template_format": "f-string", "validate_template": True, "_type": "prompt", @@ -596,7 +596,7 @@ def test_time_travel_guide_chain(client: TestClient): "input_variables": ["history", "input"], "output_parser": None, "partial_variables": {}, - "template": "The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n{history}\nHuman: {input}\nAI:", + "template": "The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n{history}\nHuman: {input}\nAI:", # noqa: E501 "template_format": "f-string", "validate_template": True, "_type": "prompt",