HyeonseoNam/auto-classifier

The system_role should be chat_role but not prmpt_template

Opened this issue · 0 comments

auto-classifier/src/main.ts

Lines 111 to 115 in 06c3c05

let user_prompt = this.settings.commandOption.prmpt_template;
user_prompt = user_prompt.replace('{{input}}', input);
user_prompt = user_prompt.replace('{{reference}}', refs.join(','));
const system_role = this.settings.commandOption.prmpt_template;

The user_prompt and system_role both are prmpt_template, it seems not right.