Commit Graph

14 Commits

Author SHA1 Message Date
73035c1d1c add clearChat in st-context 2025-02-28 15:08:55 +08:00
7c72c1d9f3 add printMessages in st-content
so that we can use this func in extension
2025-02-28 12:31:25 +08:00
e312ae6b3b Add locale data loading for extensions 2025-02-27 16:18:10 +00:00
7064ce81c7 Exported getChatCompletionModel with optional parameter 2025-02-25 15:45:35 +03:00
092ef26144 Exported getTextGenServer, extractMessageFromData, getPresetManager methods. Added optional parameters to some methods for generic usage. 2025-02-25 13:20:06 +03:00
d5bdf1cb90 Add settings.json-backed KV string storage
Fixes #3461, #3443
2025-02-11 20:17:48 +02:00
630c7980d3 New exported methods: loadWorldInfo(), saveWorldInfo(), updateWorldInfoList(), convertCharacterBook() 2025-02-02 02:39:12 +03:00
1df209c284 Export variable manipulation functions to getContext 2025-01-30 01:58:55 +02:00
9d73189133 Add updateMessageBlock and appendMediaToMessage to getContext 2025-01-25 00:38:13 +02:00
bbf28c74f7 New exported methods: getCharacters(), uuidv4(), humanizedDateTime() 2025-01-24 04:27:12 +03:00
0e5100180b expose tokenizers & getTextTokens in getContext 2024-12-13 16:29:34 -06:00
485e9e2eaa Fix redundancy in getContext. Add power user settings 2024-12-06 21:54:07 +02:00
192a1f4014 getContext: Simplify chatId access 2024-12-06 21:41:04 +02:00
77841dbc21 Add types for SillyTavern.getContext 2024-12-06 16:41:26 +02:00