mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-31 19:45:35 +01:00
0c94740560
CFG is bundled as an extension which is more flexible in terms of storing settings and consolidating code. Global CFG is currently supported and the old power user setting is auto-migrated. Signed-off-by: kingbri <bdashore3@proton.me>
9 lines
299 B
JavaScript
9 lines
299 B
JavaScript
import { extension_settings } from "../../extensions.js"
|
|
|
|
// TODO: Update to use per-chat and per-character CFG
|
|
export function getCfg() {
|
|
return {
|
|
guidanceScale: extension_settings.cfg.global.guidance_scale,
|
|
negativePrompt: extension_settings.cfg.global.negative_prompt
|
|
}
|
|
} |