From edc2f20aefe6d061265b6658048c078361375717 Mon Sep 17 00:00:00 2001 From: sub-hub Date: Sun, 30 Jun 2024 13:57:41 +0900 Subject: [PATCH] Fix: now simpleLLM requires low level access --- src/ts/process/triggers.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ts/process/triggers.ts b/src/ts/process/triggers.ts index 1c01f5e8..855c262e 100644 --- a/src/ts/process/triggers.ts +++ b/src/ts/process/triggers.ts @@ -766,6 +766,9 @@ export async function runTrigger(char:character,mode:triggerMode, arg:{ }) luaEngine.global.set('simpleLLM', async (id:string, prompt:string) => { + if(!LuaLowLevelIds.has(id)){ + return + } const result = await requestChatData({ formated: [{ role: 'user',