Fix: now simpleLLM requires low level access
This commit is contained in:
@@ -766,6 +766,9 @@ export async function runTrigger(char:character,mode:triggerMode, arg:{
|
|||||||
})
|
})
|
||||||
|
|
||||||
luaEngine.global.set('simpleLLM', async (id:string, prompt:string) => {
|
luaEngine.global.set('simpleLLM', async (id:string, prompt:string) => {
|
||||||
|
if(!LuaLowLevelIds.has(id)){
|
||||||
|
return
|
||||||
|
}
|
||||||
const result = await requestChatData({
|
const result = await requestChatData({
|
||||||
formated: [{
|
formated: [{
|
||||||
role: 'user',
|
role: 'user',
|
||||||
|
|||||||
Reference in New Issue
Block a user