mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
add ai agent
This commit is contained in:
@@ -21,7 +21,7 @@ class PromptManager:
|
|||||||
if prompt_name in self.prompts_cache:
|
if prompt_name in self.prompts_cache:
|
||||||
return self.prompts_cache[prompt_name]
|
return self.prompts_cache[prompt_name]
|
||||||
|
|
||||||
prompt_file = self.prompts_dir / "definition" / prompt_name
|
prompt_file = self.prompts_dir / "prompt" / prompt_name
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(prompt_file, 'r', encoding='utf-8') as f:
|
with open(prompt_file, 'r', encoding='utf-8') as f:
|
||||||
|
|||||||
Reference in New Issue
Block a user