The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
infra: absolute `EXAMPLE_DIR` path in core unit tests (#16325)
James Brazad511366dd3d3
diff --git a/libs/core/tests/unit_tests/prompts/test_loading.py b/libs/core/tests/unit_tests/prompts/test_loading.pyindex afad88766a..59b5d95cb6 100644--- a/libs/core/tests/unit_tests/prompts/test_loading.py+++ b/libs/core/tests/unit_tests/prompts/test_loading.py@@ -10,7 +10,7 @@ from langchain_core.prompts.few_shot import FewShotPromptTemplatefrom langchain_core.prompts.loading import load_promptfrom langchain_core.prompts.prompt import PromptTemplate-EXAMPLE_DIR = Path("tests/unit_tests/examples").absolute()+EXAMPLE_DIR = (Path(__file__).parent.parent / "examples").absolute()@contextmanager