Commit Graph

14 Commits

Author SHA1 Message Date
DominikDoom
8eb5176ab4 Move CFG to top level for shorter access, add hacky jsdoc typedef 2025-07-10 18:22:18 +02:00
DominikDoom
bdbda299f7 Refactor whole script to use isolated globals 2025-07-10 17:52:20 +02:00
DominikDoom
4d6e5b14ac Use new TAC.Globals namespace for CFG 2025-07-10 14:07:13 +02:00
DominikDoom
3e2ee75f37 Move the previously global util functions to TacUtils class & update references
(to prevent naming conflicts and have cleaner modularization)
2024-04-13 19:38:32 +02:00
DominikDoom
d4041096c9 Merge pull request #275 from Symbiomatrix/wildcard 2024-03-03 13:43:27 +01:00
DominikDoom
44effca702 Add sorting to javascript side
Now uses the sortKey if available. Elements without a sortKey will always use name as fallback.
Removed sort direction API again since it needs to be modeled case-by-case in the javascript anyway.
2023-09-13 14:03:49 +02:00
Gin
aed449c882 fix chant issue 2023-05-11 11:21:53 +08:00
DominikDoom
7fabc84a1e Prefix CFG and loading vars to prevent collisions 2023-05-08 18:47:05 +02:00
Dominik Reh
d1fff7bfa7 Use _ as a stand-in for spaces in < completion
Allows to continue typing embeddings, loras and hypernets if they have spaces in their file name
Closes #130
2023-03-01 11:14:06 +01:00
Dominik Reh
712c4a5862 Trigger on unabbreviated lora/hypernet prefix
Makes going back to edit or switch out stuff easier since you don't need to erase the prefix anymore
2023-02-24 14:59:20 +01:00
Dominik Reh
b4fe4f717a Extract sanitization / text edit before insertion 2023-02-11 13:36:39 +01:00
Dominik Reh
d29298e0cc Move anti-caching parameter to load function
For less repetition and shorter paths in the higher level functions.
Active by default, but can be disabled.
2023-02-10 11:59:06 +01:00
Dominik Reh
cbeced9121 Extract file load to queue
This enables other parsers to keep their load function in the same file
2023-02-10 11:55:56 +01:00
Dominik Reh
a588e0b989 Extract embeddings, hypernets and loras 2023-01-29 18:36:09 +01:00