From bdd5f1231e8759b9ed86beb54d91bb823879bbf1 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 18 Oct 2025 21:26:51 +0800 Subject: [PATCH] add ai agent --- app/agent/prompt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/agent/prompt/__init__.py b/app/agent/prompt/__init__.py index 104363e0..a5df868e 100644 --- a/app/agent/prompt/__init__.py +++ b/app/agent/prompt/__init__.py @@ -21,7 +21,7 @@ class PromptManager: if prompt_name in self.prompts_cache: return self.prompts_cache[prompt_name] - prompt_file = self.prompts_dir / "definition" / prompt_name + prompt_file = self.prompts_dir / "prompt" / prompt_name try: with open(prompt_file, 'r', encoding='utf-8') as f: