Add preset switching feature and clean up console logs
- Add 'Use separate preset for tracker generation' setting - Implement automatic preset switching using /preset slash command - Import getCurrentPresetName() from SillyTavern's regex engine - Automatically import 'RPG Companion Trackers' preset on first load - Comment out non-essential console.log statements - Keep initialization, error, and migration logs for debugging
This commit is contained in:
@@ -0,0 +1,264 @@
|
||||
{
|
||||
"chat_completion_source": "custom",
|
||||
"openai_model": "gpt-4o",
|
||||
"claude_model": "claude-3-sonnet-20240229",
|
||||
"openrouter_model": "OR_Website",
|
||||
"openrouter_use_fallback": false,
|
||||
"openrouter_group_models": false,
|
||||
"openrouter_sort_models": "alphabetically",
|
||||
"openrouter_providers": [],
|
||||
"openrouter_allow_fallbacks": true,
|
||||
"openrouter_middleout": "on",
|
||||
"ai21_model": "jamba-large",
|
||||
"mistralai_model": "mistral-large-latest",
|
||||
"cohere_model": "command-r-plus",
|
||||
"perplexity_model": "llama-3-70b-instruct",
|
||||
"groq_model": "llama3-70b-8192",
|
||||
"xai_model": "grok-4-0709",
|
||||
"pollinations_model": "openai",
|
||||
"aimlapi_model": "gpt-4o-mini-2024-07-18",
|
||||
"electronhub_model": "gpt-4o-mini",
|
||||
"electronhub_sort_models": "alphabetically",
|
||||
"electronhub_group_models": false,
|
||||
"moonshot_model": "kimi-latest",
|
||||
"fireworks_model": "accounts/fireworks/models/kimi-k2-instruct",
|
||||
"cometapi_model": "gpt-4o",
|
||||
"custom_model": "",
|
||||
"custom_prompt_post_processing": "semi",
|
||||
"google_model": "gemini-pro",
|
||||
"vertexai_model": "gemini-2.5-pro-exp-03-25",
|
||||
"azure_api_version": "2024-02-15-preview",
|
||||
"azure_openai_model": "",
|
||||
"temperature": 1,
|
||||
"frequency_penalty": 0,
|
||||
"presence_penalty": 0,
|
||||
"top_p": 1,
|
||||
"top_k": 0,
|
||||
"top_a": 1,
|
||||
"min_p": 0,
|
||||
"repetition_penalty": 1,
|
||||
"openai_max_context": 16384,
|
||||
"openai_max_tokens": 8192,
|
||||
"wrap_in_quotes": false,
|
||||
"names_behavior": -1,
|
||||
"send_if_empty": "",
|
||||
"impersonation_prompt": "",
|
||||
"new_chat_prompt": "",
|
||||
"new_group_chat_prompt": "",
|
||||
"new_example_chat_prompt": "",
|
||||
"continue_nudge_prompt": "",
|
||||
"bias_preset_selected": "Default (none)",
|
||||
"max_context_unlocked": false,
|
||||
"wi_format": "",
|
||||
"scenario_format": "",
|
||||
"personality_format": "",
|
||||
"group_nudge_prompt": "",
|
||||
"stream_openai": false,
|
||||
"prompts": [
|
||||
{
|
||||
"name": "Main Prompt",
|
||||
"system_prompt": true,
|
||||
"role": "system",
|
||||
"content": "",
|
||||
"identifier": "main",
|
||||
"injection_position": 0,
|
||||
"injection_depth": 4,
|
||||
"forbid_overrides": false
|
||||
},
|
||||
{
|
||||
"name": "NSFW Prompt",
|
||||
"system_prompt": true,
|
||||
"role": "system",
|
||||
"content": "",
|
||||
"identifier": "nsfw"
|
||||
},
|
||||
{
|
||||
"identifier": "dialogueExamples",
|
||||
"name": "Chat Examples",
|
||||
"system_prompt": true,
|
||||
"marker": true
|
||||
},
|
||||
{
|
||||
"name": "Jailbreak Prompt",
|
||||
"system_prompt": true,
|
||||
"role": "system",
|
||||
"content": "",
|
||||
"identifier": "jailbreak"
|
||||
},
|
||||
{
|
||||
"identifier": "chatHistory",
|
||||
"name": "Chat History",
|
||||
"system_prompt": true,
|
||||
"marker": true
|
||||
},
|
||||
{
|
||||
"identifier": "worldInfoAfter",
|
||||
"name": "World Info (after)",
|
||||
"system_prompt": true,
|
||||
"marker": true
|
||||
},
|
||||
{
|
||||
"identifier": "worldInfoBefore",
|
||||
"name": "World Info (before)",
|
||||
"system_prompt": true,
|
||||
"marker": true
|
||||
},
|
||||
{
|
||||
"identifier": "enhanceDefinitions",
|
||||
"role": "system",
|
||||
"name": "Enhance Definitions",
|
||||
"content": "If you have more knowledge of {{char}}, add to the character's lore and personality to enhance them but keep the Character Sheet's definitions absolute.",
|
||||
"system_prompt": true,
|
||||
"marker": false
|
||||
},
|
||||
{
|
||||
"identifier": "charDescription",
|
||||
"name": "Char Description",
|
||||
"system_prompt": true,
|
||||
"marker": true
|
||||
},
|
||||
{
|
||||
"identifier": "charPersonality",
|
||||
"name": "Char Personality",
|
||||
"system_prompt": true,
|
||||
"marker": true
|
||||
},
|
||||
{
|
||||
"identifier": "scenario",
|
||||
"name": "Scenario",
|
||||
"system_prompt": true,
|
||||
"marker": true
|
||||
},
|
||||
{
|
||||
"identifier": "personaDescription",
|
||||
"name": "Persona Description",
|
||||
"system_prompt": true,
|
||||
"marker": true
|
||||
}
|
||||
],
|
||||
"prompt_order": [
|
||||
{
|
||||
"character_id": 100000,
|
||||
"order": [
|
||||
{
|
||||
"identifier": "main",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"identifier": "worldInfoBefore",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"identifier": "charDescription",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"identifier": "charPersonality",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"identifier": "scenario",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"identifier": "enhanceDefinitions",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"identifier": "nsfw",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"identifier": "worldInfoAfter",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"identifier": "dialogueExamples",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"identifier": "chatHistory",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"identifier": "jailbreak",
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"character_id": 100001,
|
||||
"order": [
|
||||
{
|
||||
"identifier": "main",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"identifier": "worldInfoBefore",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"identifier": "personaDescription",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"identifier": "charDescription",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"identifier": "charPersonality",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"identifier": "scenario",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"identifier": "enhanceDefinitions",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"identifier": "nsfw",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"identifier": "worldInfoAfter",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"identifier": "dialogueExamples",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"identifier": "chatHistory",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"identifier": "jailbreak",
|
||||
"enabled": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"show_external_models": false,
|
||||
"assistant_prefill": "",
|
||||
"assistant_impersonation": "",
|
||||
"claude_use_sysprompt": true,
|
||||
"use_makersuite_sysprompt": true,
|
||||
"vertexai_auth_mode": "full",
|
||||
"squash_system_messages": true,
|
||||
"image_inlining": false,
|
||||
"inline_image_quality": "auto",
|
||||
"video_inlining": false,
|
||||
"bypass_status_check": false,
|
||||
"continue_prefill": false,
|
||||
"continue_postfix": "",
|
||||
"function_calling": false,
|
||||
"show_thoughts": false,
|
||||
"reasoning_effort": "auto",
|
||||
"enable_web_search": false,
|
||||
"request_images": false,
|
||||
"seed": -1,
|
||||
"n": 1,
|
||||
"extensions": {}
|
||||
}
|
||||
Reference in New Issue
Block a user