mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-03-23 23:10:06 +01:00
Fix a typo in bridge.lua
This commit is contained in:
parent
1627afa8c5
commit
a4e8f0780c
@ -1282,10 +1282,10 @@ return function(_python, _bridged)
|
||||
---@param v table<integer, string>
|
||||
function KoboldLib_setters.outputs(t, v)
|
||||
if koboldbridge.userstate ~= "outmod" then
|
||||
error("Cannot write to `KoboldLib.generated` from outside of an output modifier")
|
||||
error("Cannot write to `KoboldLib.outputs` from outside of an output modifier")
|
||||
return
|
||||
elseif type(v) ~= "table" then
|
||||
error("`KoboldLib.generated` must be a 1D array of strings; you attempted to set it to a " .. type(v))
|
||||
error("`KoboldLib.outputs` must be a 1D array of strings; you attempted to set it to a " .. type(v))
|
||||
return
|
||||
end
|
||||
koboldbridge.outputs = v
|
||||
|
Loading…
x
Reference in New Issue
Block a user