From d15b43e20ea5e612d41928b5b2e8ef38f0930d7f Mon Sep 17 00:00:00 2001 From: henk717 Date: Thu, 16 Dec 2021 12:54:10 +0100 Subject: [PATCH] Not always a list of strings kobold.outputs must be a 1D list of strings, but sometimes its still blank. In those cases rather than throwing an error and crashing the scripting its better if it does nothing. --- bridge.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/bridge.lua b/bridge.lua index 77178916..087c24c5 100644 --- a/bridge.lua +++ b/bridge.lua @@ -1671,7 +1671,6 @@ return function(_python, _bridged) setmetatable(koboldbridge.outputs, nil) for k, v in old_next, koboldbridge.outputs, nil do if type(v) ~= "string" then - error("`kobold.outputs` must be a 1D list of strings, but found a non-string element at index " .. k) return r end if v ~= _outputs[k] then