fix prompt path import

This commit is contained in:
perf3ct 2025-03-26 19:12:05 +00:00
parent 713805394c
commit 7c519df9b5
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232

View File

@ -17,7 +17,7 @@ const loadSystemPrompt = (): string => {
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const promptPath = path.join(__dirname, 'base_system_prompt.md');
const promptPath = path.join(__dirname, '../prompts/base_system_prompt.md');
const promptContent = fs.readFileSync(promptPath, 'utf8');
// Strip the markdown title if needed
return promptContent.replace(/^# TriliumNext Base System Prompt\n+/, '');