Fix variables and calls
This commit is contained in:
parent
66c07f0c9d
commit
20e75781b0
@ -10,8 +10,9 @@ module.exports = {
|
|||||||
async execute(interaction) {
|
async execute(interaction) {
|
||||||
try {
|
try {
|
||||||
await interaction.deferReply({ephemeral: true});
|
await interaction.deferReply({ephemeral: true});
|
||||||
const sysPrompt = await fn.localLLM.getSysPrompt().catch(e => console.error(e));
|
const sysPrompt = strings.ai.sysPrompt;
|
||||||
const sysPromptEmbed = fn.builders.embeds.sysPrompt(sysPrompt);
|
const model = strings.ai.localModel;
|
||||||
|
const sysPromptEmbed = fn.builders.embeds.sysPrompt(sysPrompt, model);
|
||||||
await interaction.editReply(sysPromptEmbed);
|
await interaction.editReply(sysPromptEmbed);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
Loading…
Reference in New Issue
Block a user