Fix: now simpleLLM requires low level access

This commit is contained in:
sub-hub
2024-06-30 13:57:41 +09:00
parent 4a9f054f4f
commit edc2f20aef

View File

@@ -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',