From f06e7b29849b6fe99bf74e06f72e7a812dcbf5fd Mon Sep 17 00:00:00 2001 From: vasilije Date: Sun, 6 Jul 2025 18:48:15 +0200 Subject: [PATCH] added fix --- .../llitellm_instructor/llm/prompts/render_prompt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/infrastructure/llm/structured_output_framework/llitellm_instructor/llm/prompts/render_prompt.py b/cognee/infrastructure/llm/structured_output_framework/llitellm_instructor/llm/prompts/render_prompt.py index 4f0de3549..aa7a2a2cf 100644 --- a/cognee/infrastructure/llm/structured_output_framework/llitellm_instructor/llm/prompts/render_prompt.py +++ b/cognee/infrastructure/llm/structured_output_framework/llitellm_instructor/llm/prompts/render_prompt.py @@ -25,7 +25,7 @@ def render_prompt(filename: str, context: dict, base_directory: str = None) -> s # Set the base directory relative to the cognee root directory if base_directory is None: - base_directory = get_absolute_path("./infrastructure/llm/prompts") + base_directory = get_absolute_path("./infrastructure/llm/structured_output_framework/llitellm_instructor/llm/prompts") # Initialize the Jinja2 environment to load templates from the filesystem env = Environment(