The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
test(core): don't use deprecated `input_variables` param in `from_file` (#33105)
Mason Daugherty3a6046b15738
diff --git a/libs/core/tests/unit_tests/prompts/test_prompt.py b/libs/core/tests/unit_tests/prompts/test_prompt.pyindex cb4983ef0b..6419530212 100644--- a/libs/core/tests/unit_tests/prompts/test_prompt.py+++ b/libs/core/tests/unit_tests/prompts/test_prompt.py@@ -354,8 +354,7 @@ def test_prompt_invalid_template_format() -> None:def test_prompt_from_file() -> None:"""Test prompt can be successfully constructed from a file."""template_file = "tests/unit_tests/data/prompt_file.txt"- input_variables = ["question"]- prompt = PromptTemplate.from_file(template_file, input_variables)+ prompt = PromptTemplate.from_file(template_file)assert prompt.template == "Question: {question}\nAnswer:"