mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Lua API fixes
* `print()` and `warn()` now work correctly with `nil` arguments * Typo: `gpt-neo-1.3M` has been corrected to `gpt-neo-1.3B` * Regeneration is no longer triggered when writing to `keysecondary` of a non-selective key * Handle `genamt` changes in generation modifier properly * Writing to `kobold.settings.numseqs` from a generation modifier no longer affects * Formatting options in `kobold.settings` have been fixed * Added aliases for setting names * Fix behaviour of editing story chunks from a generation modifier * Warnings are now yellow instead of red * kobold.logits is now the raw logits prior to being filtered, like the documentation says, rather than after being filtered * Some erroneous comments and error messages have been corrected * These parts of the API have now been implemented properly: * `compute_context()` methods * `kobold.authorsnote` * `kobold.restart_generation()`
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-- Default core script
|
||||
-- Runs all input modifiers and generation modifiers in forward order, and
|
||||
-- runs all output modifiers in reverse order
|
||||
-- Runs all generation modifiers and output modifiers in forward order, and
|
||||
-- runs all input modifiers in reverse order
|
||||
|
||||
kobold, koboldcore = require("bridge")() -- This line is optional and is only for EmmyLua type annotations
|
||||
|
||||
|
Reference in New Issue
Block a user