Fix variables and calls

This commit is contained in:
Skylar Grant 2025-01-19 11:57:31 -05:00
parent 66c07f0c9d
commit 20e75781b0

View File

@ -10,8 +10,9 @@ module.exports = {
async execute(interaction) {
try {
await interaction.deferReply({ephemeral: true});
const sysPrompt = await fn.localLLM.getSysPrompt().catch(e => console.error(e));
const sysPromptEmbed = fn.builders.embeds.sysPrompt(sysPrompt);
const sysPrompt = strings.ai.sysPrompt;
const model = strings.ai.localModel;
const sysPromptEmbed = fn.builders.embeds.sysPrompt(sysPrompt, model);
await interaction.editReply(sysPromptEmbed);
} catch (e) {
console.error(e);