kcppt / BookWriterV1.1E-Q35H.kcppt
Henk717's picture
BookWriter (Includes Lite save)
c5ac264 verified
Raw
History Blame Contribute Delete
25.5 kB
{
"usecuda": null,
"usevulkan": null,
"usecpu": null,
"model": [],
"model_param": "https://huggingface.co/mradermacher/Qwen3.5-27B-heretic-GGUF/resolve/main/Qwen3.5-27B-heretic.Q4_K_S.gguf?download=true",
"config": null,
"contextsize": 65536,
"gpulayers": -1,
"host": "",
"launch": true,
"tensor_split": null,
"threads": -1,
"port": 5001,
"port_param": 5001,
"version": false,
"analyze": "",
"autofit": false,
"autofitpadding": 1024,
"batchsize": 512,
"benchmark": null,
"blasthreads": null,
"chatcompletionsadapter": "AutoGuess",
"cli": false,
"debugmode": 0,
"defaultgenamt": 8192,
"device": "",
"downloaddir": "",
"draftamount": 8,
"draftgpulayers": 999,
"draftgpusplit": null,
"draftmodel": null,
"enableguidance": false,
"exportconfig": "",
"exporttemplate": "",
"failsafe": false,
"foreground": false,
"gendefaults": "",
"gendefaultsoverwrite": false,
"genlimit": 0,
"highpriority": false,
"ignoremissing": false,
"jinja": true,
"jinja_kwargs": "",
"jinja_tools": true,
"jinjatemplate": "",
"jinjathink": "default",
"lora": null,
"loramult": 1.0,
"lowvram": false,
"maingpu": -1,
"maxrequestsize": 32,
"mcpfile": null,
"mmproj": "https://huggingface.co/mradermacher/Qwen3.5-27B-heretic-GGUF/resolve/main/Qwen3.5-27B-heretic.mmproj-f16.gguf?download=true",
"mmprojcpu": false,
"moecpu": 0,
"moeexperts": -1,
"multiuser": 10,
"multiplayer": false,
"nocertify": false,
"nofastforward": false,
"noflashattention": false,
"noavx2": false,
"nobostoken": false,
"nommq": false,
"nomodel": false,
"nopipelineparallel": false,
"noshift": false,
"noswa": true,
"onready": "",
"allow_config_onready": false,
"overridekv": null,
"overridenativecontext": 0,
"overridetensors": null,
"parallelrequests": 1,
"password": null,
"preloadstory": {
"gamestarted": true,
"prompt": "# Welcome to the Book Writer\nFirst you will need to specify the general idea of the story, be as detailed as you want. I will turn this concept into the amount of chapters you specify. Both with chapter outlines, a summary of the characters and what they are like, etc.",
"memory": "{{[SYSTEM]}}\nYou are a book generator. The following rules are law:\n\n### I. Structural Constraints\n- Each chapter must be longer than 5000 words by default. If the user specifies a different word count, it must be adhered to strictly.\n- Purple prose is forbidden.\n- Assume the reader is an adult who desires real depth. If the story is dark, make it dark. If it is erotic, be explicit and focus on those elements.\n- The pace follows that of a professional novel; do not rush plot points or emotional beats.\n- The backend has high context capabilities; handle any requested word count without compromising quality.\n- Writing style must match award-winning human authors.\n- No fourth wall breaking\n\n### II. Operational Modes (Execution Logic)\nThe AI must determine the operational mode based on the user's input:\n- Write chapter (Mode A)\n- Write the beginning/section of chapter (Mode B)\n- Continue the chapter (Mode B)\n\n**MODE A: Linear Execution**\n* **Trigger:** The user requests a full chapter (e.g., \"Write Chapter X\").\n* **Action:** Generate the entire narrative arc from beginning to end in a single response. Ensure the story reaches its natural conclusion for that chapter while meeting the word count requirements.\n\n**MODE B: Iterative Expansion**\n* **Trigger:** The user requests the \"Beginning of Chapter X\" or asks to \"Continue.\"\n* **Action:** Switch to the **Non-Resolution Protocol**.\n\n### III. The Non-Resolution Protocol\nWhen operating in **Mode B**, the following laws apply to prevent narrative drift and premature closure:\n\n1. **The Non-Resolution Rule:** You are forbidden from resolving the primary tension, conflict, or climax of the chapter. Whether it is a tease, a search, or a psychological battle, the loop remains open. Do not conclude the scene or provide finality until you receive the explicit command: **\"Finish the chapter.\"**\n2. **Pacing Brake:** Prioritize **micro-beats** over macro-beats. Instead of moving the timeline forward, expand the current moment. Focus on physiological reactions, internal monologues, atmospheric shifts, and sensory details. \n3. **The Expansion Loop:** Each \"Continue\" request should deepen the anticipation or introduce new layers of complexity/tension. Stretch the distance between the start of the scene and the resolution to maximize depth.\n\n### IV. Workflow & Interaction\n- When starting a project, propose an outline, characters, and world-building.\n- Upon approval of the outline, proceed only when given the specific command for a chapter or a portion thereof.\n- If requested to begin a chapter iteratively, continue the \"tease/tension\" indefinitely until the \"Finish the chapter\" command is given.\n\n### V. Formatting (Both modes)\nFor every chapter, the AI must preface the text with the following metadata block template:\n```\nChapter Outline: [Current Chapter]\nCurrent Scene Objective: [What is being built/teased]\nKey points addressed so far: [List]\nRemaining tension to resolve: [What happens upon \"Finish\"]\nWhat should not happen before being allowed to finish: [\"What I can't do until I am allowed to finish (key elements of the next chapters)\"]\nWhat I can drown out indefinitely until I am told to finish the chapter: [\"The middle loop of the story until we can resolve\"]\n```\nFollowing this block, write the narrative content without further remarks. This includes a chapter title if its the beginning of a chapter.\n{{[SYSTEM_END]}}",
"authorsnote": "",
"anotetemplate": "[System Reminder: <|>]",
"actions": [
"\n\nThen once you agree with the outline you will provide me with the following per chapter so I know to begin on the next one.\n```\nWrite chapter X from the outline (optionally with a word count)\n```",
"\n\nIf my chapters are to short you can also cut it up and then I will finish the chapter upon request, to do so ask me this:\n```\nWrite the beginning of chapter X from the outline\n```\nAnd then within the chapter you have two options:\n```\nContinue the chapter (with optional instructions of what should happen)\n```\nAnd\n```\nFinish the chapter\n```\nWhich will make me wrap it up and connect it to the next chapter.\n---\nOnce you are ready type your story idea and optionally the amount of chapters so we can decide the pacing of the book."
],
"actions_metadata": {
"0": {
"Selected Text": "",
"Alternative Text": []
},
"1": {
"Selected Text": "",
"Alternative Text": []
}
},
"worldinfo": [],
"wifolders_d": {},
"wifolders_l": [],
"saveCreationDate": "Fri, 24 Apr 2026 07:56:48 GMT",
"completed_imgs_meta": {},
"tempmemory": "",
"anotestr": "0",
"wisearchdepth": "0",
"wiinsertlocation": "0",
"personal_notes": "",
"newlineaftermemory": true,
"documentdb_provider": "0",
"documentdb_searchhistory": false,
"documentdb_searchdocuments": false,
"documentdb_numresults": 3,
"documentdb_searchrange": 300,
"documentdb_chunksize": 800,
"documentdb_data": "",
"altbranches": [],
"documentdb_sqPrefix": "",
"documentdb_cPrefix": "",
"anTurnOffset": 1,
"anTurnType": "",
"worldtree": {
"# Welcome to the Book Writer\nFirst you will need to specify the general idea of the story, be as detailed as you want. I will turn this concept into the amount of chapters you specify. Both with chapter outlines, a summary of the characters and what they are like, etc.": {
"\n\nThen once you agree with the outline you will provide me with the following per chapter so I know to begin on the next one.\n```\nWrite chapter X from the outline (optionally with a word count)\n```": {
"\n\nIf my chapters are to short you can also cut it up and then I will finish the chapter upon request, to do so ask me this:\n```\nWrite the beginning of chapter X from the outline\n```\nAnd then within the chapter you have two options:\n```\nContinue the chapter (with optional instructions of what should happen)\n```\nAnd\n```\nFinish the chapter\n```\nWhich will make me wrap it up and connect it to the next chapter.\n---\nOnce you are ready type your story idea and optionally the amount of chapters so we can decide the pacing of the book.": {}
}
}
},
"savedsettings": {
"my_api_key": "0000000000",
"saved_oai_key": "",
"saved_oai_addr": "",
"saved_dalle_key": "",
"saved_dalle_url": "",
"saved_dalle_model": "dall-e-3",
"saved_oai_tts_key": "",
"saved_oai_tts_url": "",
"saved_oai_embd_key": "",
"saved_oai_embd_url": "",
"saved_openrouter_key": "",
"saved_mistralai_key": "",
"saved_featherless_key": "",
"saved_nvidianim_key": "",
"saved_pollinations_key": "",
"saved_grok_key": "",
"saved_claude_key": "",
"saved_claude_addr": "",
"saved_palm_key": "",
"saved_kai_addr": "",
"saved_kai_key": "",
"saved_cohere_key": "",
"saved_oai_jailbreak": "",
"saved_oai_jailbreak2": "",
"saved_claude_jailbreak": "",
"saved_claude_jailbreak2": "",
"saved_cohere_preamble": "",
"saved_palm_jailbreak": "",
"saved_palm_jailbreak2": "",
"saved_openrouter_provider": "",
"saved_oai_custommodel": "",
"saved_oai_role": 3,
"saved_a1111_url": "",
"saved_comfy_url": "",
"saved_comfy_bearer_token": "",
"saved_xtts_url": "",
"saved_alltalk_url": "http://localhost:7851",
"saved_mcp_urls": "",
"prev_custom_endpoint_type": 1,
"prev_custom_endpoint_model_dict": {},
"prev_custom_endpoint_ischatcmpl": true,
"generate_images_mode": 0,
"autoscroll": true,
"printer_view": false,
"viewport_width_mode": "0",
"trimsentences": true,
"trimwhitespace": false,
"compressnewlines": false,
"eos_ban_mode": "0",
"token_count_multiplier": 100,
"opmode": "4",
"adventure_roll_modifier": "0",
"adventure_switch_mode": 0,
"adventure_context_mod": true,
"fix_alpaca_leak": true,
"chat_context_mod": true,
"chatname": "User",
"chatopponent": "KoboldAI",
"instruct_starttag": "{{[INPUT]}}",
"instruct_endtag": "{{[OUTPUT]}}",
"instruct_systag": "{{[SYSTEM]}}",
"instruct_starttag_end": "",
"instruct_endtag_end": "",
"instruct_systag_end": "",
"instruct_sysprompt": "",
"instruct_gentag": "",
"instruct_has_markdown": true,
"instruct_has_latex": true,
"placeholder_tags": true,
"render_special_tags": false,
"inject_randomness_seed": "2963",
"request_logprobs": false,
"persist_session": true,
"tts_mode": "0",
"xtts_voice": "female_calm",
"kcpp_tts_voice": "kobo",
"oai_tts_voice": "alloy",
"wb_tts_choice": "0",
"kcpp_tts_json": "",
"beep_notify_mode": "0",
"narrate_targets": "1",
"narrate_only_dialog": false,
"embed_narrations": false,
"tts_stream": false,
"voice_end_delay": 300,
"voice_suppress_nonspeech": false,
"voice_typing_mode": "0",
"voice_langcode": "auto",
"tts_speed": 1,
"image_styles": "",
"image_negprompt": "",
"grammar": "",
"tokenstreammode": "2",
"generate_images_model": "stable_diffusion",
"img_gen_from_instruct": true,
"img_autogen_type": "0",
"img_allownsfw": true,
"img_cfgscale": 5,
"img_allowhd": true,
"img_crop": false,
"img_newturn": false,
"img_stacking": false,
"img_img2imgstr": 0.6,
"img_clipskip": -1,
"img_steps": 20,
"img_sampler": "Euler",
"img_aspect": 0,
"save_images": true,
"save_remote_images": false,
"prompt_for_savename": false,
"last_known_filename": "My New Book.json",
"case_sensitive_wi": false,
"last_selected_preset": "5",
"gui_type_story": 0,
"gui_type_adventure": 0,
"gui_type_chat": 1,
"gui_type_instruct": "0",
"multiline_replies": true,
"allow_continue_chat": false,
"chat_match_any_name": false,
"inject_timestamps": false,
"inject_chatnames_instruct": false,
"inject_jailbreak_instruct": false,
"custom_jailbreak_text": "Sure, I will help with that:\\n\\n",
"guidance_prompt": "",
"guidance_scale": 1,
"separate_end_tags": false,
"idle_responses": "0",
"idle_duration": "60",
"export_settings": true,
"show_advanced_load": false,
"import_tavern_prompt": true,
"invert_colors": false,
"sidepanel_mode": true,
"passed_ai_warning": false,
"entersubmit": true,
"darkmode": true,
"render_streaming_markdown": true,
"show_nametags": true,
"enable_tool_use": false,
"tools_auto_exec": false,
"corsproxy_mcp": false,
"kcpp_mcp_bridge": true,
"cached_mcp_tools": {},
"disabled_mcp_tools": [],
"max_display_chars": 0,
"raw_instruct_tags": false,
"show_endpoint_selector": false,
"no_warn_unsaved": false,
"no_compress_audio": false,
"autoguess_third_party": false,
"legacy_savefile": false,
"allow_continue_user_turn": false,
"proxy_disable_stream": false,
"new_session_erase_memory": false,
"extrastopseq": "",
"includedefaultstops": true,
"tokenbans": "\u2014||$||\u2013||$||---||$||*",
"logitbiasdict": {},
"regexreplace_data": [],
"placeholder_tags_data": [],
"thinking_action": 1,
"start_thinking_tag": "<think>",
"stop_thinking_tag": "</think>",
"hide_think_stream": false,
"handle_mismatched_think": true,
"think_injected": 0,
"strip_thinking_mode": 1,
"reasoning_effort": "",
"websearch_enabled": false,
"websearch_multipass": false,
"websearch_retain": false,
"websearch_template": "",
"wordsearch_enabled": true,
"max_context_length": 32768,
"max_length": 4096,
"last_maxctx": 32768,
"auto_ctxlen": true,
"auto_genamt": true,
"rep_pen": 1.07,
"rep_pen_range": 360,
"rep_pen_slope": 0.7,
"temperature": 1.25,
"dynatemp_range": 0,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"nsigma": 0,
"top_p": 1,
"min_p": 0.1,
"presence_penalty": 0,
"sampler_seed": "-1",
"top_k": 0,
"top_a": 0,
"typ_s": 1,
"tfs_s": 1,
"miro_type": 0,
"miro_tau": 5,
"miro_eta": 0.1,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_allowed_length": 2,
"dry_penalty_last_n": 320,
"dry_sequence_breakers": [
"\n",
":",
"\"",
"*"
],
"xtc_threshold": 0.2,
"xtc_probability": 0,
"adaptivep_target": -1,
"adaptivep_decay": 0.9,
"sampler_order": [
6,
5,
0,
1,
3,
4,
2
],
"agentLumaraPollingRate": 0,
"agentBehaviour": false,
"agentHideCOT": true,
"agentStopOnRequestForInput": true,
"agentCOTMax": 5,
"agentCOTRepeatsMax": 1,
"agentAutoContinueMode": "disabled",
"agentAutoContinue": false,
"agentUseOAITools": false,
"agentSkipPlanningStep": false,
"agentMaxActionsInHistory": 30,
"agentSkipPreviousCOTWhenProcessing": false,
"agentStreamThinking": true,
"agentFsContentCharLimit": 5000,
"disableSaveCompressionLocally": true,
"enableRunningMemory": false,
"worldTreePrune": false,
"worldTreeDepth": 2,
"worldTreeShowAll": false,
"useNewEditor": true,
"fullScreenEditorForInputs": true,
"legacySaveMechanisms": false,
"showContextUsageChart": true,
"customThemeColours": {
"--theme_color_topmenu": "#1f201b",
"--theme_color_topbtn": "#26271f",
"--theme_color_bg_outer": "#1c1d19",
"--theme_color_bg_chat": "#1a1b17",
"--theme_color_bg_popups": "#20211c",
"--theme_color_bg_muted": "#26271f",
"--theme_color_accent_bg": "#8d9467",
"--theme_color_accent_bg_highlight": "#3a3c2c",
"--theme_color_accent_fg": "#ffffff",
"--theme_color_accent_fg_highlight": "#ffffff",
"--theme_color_fg": "#e8e9d9",
"--theme_color_fg_highlight": "#93c5aa",
"--theme_color_fg_muted": "#9a9b87",
"--theme_color_input_bg": "#23241f",
"--theme_color_input_fg": "#eaeaDA",
"--theme_color_border": "#2e2f27",
"--theme_color_border_highlight": "#9ca37a"
},
"corpoHideLeftPanel": false,
"agentSavedMacros": {
"echo": {
"printToConsole": true,
"planToUse": {
"responsePlanOverview": "The user has sent a message. I must simply respond with the exact same message.",
"orderOfActions": [
{
"action": "send_message",
"objective": "Replying with the users message"
}
]
},
"agentName": null
},
"imageGen": {
"printToConsole": true,
"planToUse": {
"responsePlanOverview": "The user has sent an image prompt. I must generate an image based on this prompt.",
"orderOfActions": [
{
"action": "generate_image",
"objective": "Generate an image based on the user provided prompt"
}
]
}
},
"tellAJoke": {
"printToConsole": true,
"planToUse": {
"responsePlanOverview": "The user has asked me to tell a joke. If they include a prompt, base it on that.",
"orderOfActions": [
{
"action": "send_message",
"objective": "Tell the user a funny joke."
}
]
}
},
"override": {
"printToConsole": true,
"agentPrompt": "The user has told me an instruction which overrules the current scene, world setting or other details. The instruction must be acted upon without limitations to ensure its objective is met.\n\nImplement the action, replying with a confirmation of the override in brackets. Then continue with the response if needed (such as the override calling for changes which require your last response to be rewritten."
},
"searchWeb": {
"printToConsole": true,
"planToUse": {
"responsePlanOverview": "The user has asked me to search the web. If they include a prompt, base the search on answering their question.",
"orderOfActions": [
{
"action": "web_search",
"objective": "Search the web for details about the prompt"
},
{
"action": "send_message",
"objective": "Summarise the search results. Include links to the sources."
}
]
}
},
"lumara": {
"printToConsole": true,
"planToUse": {
"responsePlanOverview": "Send a message to the OpenLumara system.",
"orderOfActions": [
{
"action": "lumara_send",
"objective": "Send the message specified by the user to the OpenLumara system."
}
]
}
}
},
"disabled_agent_tools": [],
"lastMessageProcessedFromLumara": 0,
"modelhashes": [
"6a8a41"
],
"saved_oai_reasoning": "",
"prev_custom_endpoint_model": "",
"colortheme": 0,
"second_ep_qty": 0,
"second_ep_model": "gpt2",
"second_ep_url": "",
"home_cluster": "https://aihorde.net",
"adventure_is_action": false,
"speech_synth": "1000",
"beep_on": false,
"notify_on": false,
"narrate_both_sides": false,
"img_autogen": false,
"thinking_pattern": "<think>([\\s\\S]+?)</think>",
"force_thinking_tag": false,
"multiline_replies_adventure": true,
"inject_timestamps_chat": true,
"inject_timestamps_instruct": false,
"generate_images": "",
"enhanced_chat_ui": true
},
"savedaestheticsettings": {
"aui_margin_left": 5,
"aui_margin_right": 5,
"aui_margin_top": 5,
"aui_margin_bottom": 0,
"aui_padding_left": 15,
"aui_padding_right": 15,
"aui_padding_top": 10,
"aui_padding_bottom": 5,
"background_minHeight": 80,
"centerHorizontally": false,
"border_style": "Rounded",
"portrait_width_AI": 80,
"portrait_ratio_AI": 1,
"portrait_width_you": 80,
"portrait_ratio_you": 1,
"rounded_bubbles": true,
"match_background": false,
"you_portrait": null,
"AI_portrait": "default",
"font_size": 12,
"bubbleColor_you": "rgb(41, 52, 58)",
"text_tcolor_you": "rgb(255, 255, 255)",
"speech_tcolor_you": "rgb(150, 150, 200)",
"action_tcolor_you": "rgb(178, 178, 178)",
"bubbleColor_AI": "rgb(20, 20, 40)",
"text_tcolor_AI": "rgb(255, 255, 255)",
"speech_tcolor_AI": "rgb(150, 150, 200)",
"action_tcolor_AI": "rgb(178, 178, 178)",
"code_block_background": "rgb(0, 0, 0)",
"code_block_foreground": "rgb(210, 50, 50)",
"bubbleColor_sys": "rgb(18, 36, 36)",
"background_margin": [
5,
5,
5,
0
],
"background_padding": [
15,
15,
10,
5
],
"show_chat_names": true,
"use_markdown": true,
"use_uniform_colors": true,
"text_tcolor_uniform": "rgb(255, 255, 255)",
"speech_tcolor_uniform": "rgb(150, 150, 200)",
"action_tcolor_uniform": "rgb(178, 178, 178)",
"text_tcolor_sys": "rgb(255, 255, 255)",
"speech_tcolor_sys": "rgb(150, 150, 200)",
"action_tcolor_sys": "rgb(178, 178, 178)"
}
},
"prompt": "",
"quantkv": "f16",
"quiet": true,
"ratelimit": 0,
"reasoningeffort": "default",
"remotetunnel": false,
"ropeconfig": [
0.0,
10000.0
],
"savedatafile": null,
"singleinstance": true,
"smartcache": 0,
"smartcontext": false,
"splitmode": "layer",
"ssl": null,
"swapadding": 0,
"unpack": "",
"usemtp": false,
"usemlock": false,
"usemmap": false,
"visionmaxres": 1024,
"visionmaxtokens": -1,
"visionmintokens": -1,
"websearch": false,
"showgui": false,
"skiplauncher": false,
"hordemodelname": "",
"hordeworkername": "",
"hordekey": "",
"hordemaxctx": 0,
"hordegenlen": 1024,
"sdaudiovae": "",
"sdclamped": 0,
"sdclampedsoft": 0,
"sdclip1": "",
"sdclip2": "",
"sdclipdevice": -2,
"sdconvdirect": "off",
"sdflashattention": false,
"sdlora": [],
"sdloramult": [
1.0
],
"sdmaingpu": -1,
"sdmodel": "",
"sdoffloadcpu": false,
"sdphotomaker": "",
"sdquant": 0,
"sdt5xxl": "",
"sdthreads": 0,
"sdtiledvae": 768,
"sdupscaler": "",
"sdvae": "",
"sdvaeauto": false,
"sdvaedevice": -1,
"sdvramlimit": 0,
"whispermodel": "",
"ttsmodel": "",
"ttswavtokenizer": "",
"ttsgpu": false,
"ttsmaxlen": 4096,
"ttsthreads": 0,
"ttsdir": "",
"musicllm": "",
"musicembeddings": "",
"musicdiffusion": "",
"musicvae": "",
"musiclowvram": false,
"embeddingsmodel": "",
"embeddingsmaxctx": 0,
"embeddingsgpu": false,
"rpcmode": "disabled",
"rpcport": 5551,
"rpchost": "0.0.0.0",
"rpcdevice": "",
"rpctargets": "",
"admin": false,
"adminpassword": null,
"admindir": "",
"adminunloadtimeout": 0,
"routermode": false,
"reqtimeout": 600,
"autoswapmode": false,
"baseconfig": "",
"sdvaecpu": false,
"sdclipgpu": false,
"testmemory": false,
"istemplate": true,
"jinja_stream_toolcall": false,
"fsmaxsize": 0,
"fsdir": "",
"fsdirect": false,
"developerMode": false,
"admintextmodelsdir": "",
"admindatadir": "",
"admindocsdir": "",
"adminallowhf": false,
"autoswapmode_skiptextunload": false,
"autoswapmode_skipsstunload": false,
"autoswapmode_skipttsunload": false,
"autoswapmode_skipembedunload": false,
"autoswapmode_skipmusicunload": false,
"autoswapmode_skipimageunload": false,
"OpenLumara": false,
"OpenLumara_TemporaryMode": false,
"OpenLumara_configfile": "",
"OpenLumara_datadir": "",
"OpenLumara_sandboxfolder": "",
"OpenLumara_backuppath": "",
"OpenLumara_apiurl": "",
"OpenLumara_requirelogin": true
}