-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.html
More file actions
128 lines (116 loc) · 6.07 KB
/
settings.html
File metadata and controls
128 lines (116 loc) · 6.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<div class="burner-phone-settings">
<div class="inline-drawer">
<div class="inline-drawer-toggle inline-drawer-header">
<b>BurnerPhone</b>
<div class="inline-drawer-icon fa-solid fa-circle-chevron-down down"></div>
</div>
<div class="inline-drawer-content">
<div class="flex-container">
<label class="checkbox_label" for="bp_enabled">
<input id="bp_enabled" type="checkbox">
<span>Enable BurnerPhone</span>
</label>
</div>
<hr>
<h4>Defaults for New Conversations</h4>
<div class="flex-container flexFlowColumn">
<label for="bp_default_pm_context_mode">PM context awareness</label>
<select id="bp_default_pm_context_mode" class="text_pole wide100p">
<option value="isolated">Isolated (no lore, no chat)</option>
<option value="lore">Lore only (world info, no chat)</option>
<option value="full">Full (lore + main chat)</option>
</select>
</div>
<div class="flex-container">
<label class="checkbox_label" for="bp_default_story_sees_pm">
<input id="bp_default_story_sees_pm" type="checkbox">
<span>Story sees PM (inject PM into main generation)</span>
</label>
</div>
<hr>
<h4>Generation</h4>
<div class="flex-container flexFlowColumn">
<label for="bp_pm_scan_depth">PM messages in context</label>
<input id="bp_pm_scan_depth" class="text_pole wide100p" type="number" min="1" max="50" value="10">
</div>
<div class="flex-container flexFlowColumn">
<label for="bp_main_chat_scan_depth">Main chat messages in PM context (when PM sees world)</label>
<input id="bp_main_chat_scan_depth" class="text_pole wide100p" type="number" min="1" max="50" value="10">
</div>
<hr>
<h4>Main Chat Injection</h4>
<small>When "Story sees PM" is enabled, these control how the PM transcript is injected into the main generation.</small>
<div class="flex-container flexFlowColumn">
<label for="bp_injection_position">Injection Position</label>
<select id="bp_injection_position" class="text_pole wide100p">
<option value="0">In Prompt</option>
<option value="1">In Chat</option>
<option value="2">Before Prompt</option>
</select>
</div>
<div class="flex-container flexFlowColumn">
<label for="bp_injection_depth">Injection Depth (for In Chat)</label>
<input id="bp_injection_depth" class="text_pole wide100p" type="number" min="0" max="100" value="4">
</div>
<div class="flex-container flexFlowColumn">
<label for="bp_injection_role">Injection Role</label>
<select id="bp_injection_role" class="text_pole wide100p">
<option value="0">System</option>
<option value="1">User</option>
<option value="2">Assistant</option>
</select>
</div>
<div class="flex-container flexFlowColumn">
<label for="bp_injection_max_messages">Max PM messages to inject</label>
<input id="bp_injection_max_messages" class="text_pole wide100p" type="number" min="1" max="100" value="20">
</div>
<hr>
<h4>Appearance</h4>
<div class="flex-container">
<label class="checkbox_label" for="bp_show_date_separators">
<input id="bp_show_date_separators" type="checkbox">
<span>Show date separators in chat</span>
</label>
</div>
<div class="flex-container flexGap10">
<div class="flex-container flexFlowColumn flex1">
<label for="bp_user_bubble_color">From bubble color</label>
<div class="flex-container flexGap5">
<input id="bp_user_bubble_color" type="color" value="#4a4a6a">
<div id="bp_reset_user_color" class="menu_button" title="Reset to theme default">
<i class="fa-solid fa-rotate-left"></i>
</div>
</div>
</div>
<div class="flex-container flexFlowColumn flex1">
<label for="bp_char_bubble_color">To bubble color</label>
<div class="flex-container flexGap5">
<input id="bp_char_bubble_color" type="color" value="#3a5a3a">
<div id="bp_reset_char_color" class="menu_button" title="Reset to theme default">
<i class="fa-solid fa-rotate-left"></i>
</div>
</div>
</div>
</div>
<hr>
<h4>Prompt Template</h4>
<small>Placeholders: <code>{{from}}</code>, <code>{{to}}</code>, <code>{{user}}</code>,
<code>{{fromContext}}</code>, <code>{{toContext}}</code>, <code>{{loreContext}}</code>,
<code>{{storyContext}}</code>, <code>{{pmHistory}}</code></small>
<textarea id="bp_prompt_template" class="text_pole wide100p" rows="12"></textarea>
<div class="flex-container">
<div id="bp_reset_template" class="menu_button">
<i class="fa-solid fa-rotate-left"></i>
<span>Reset to Default</span>
</div>
</div>
<hr>
<div class="flex-container">
<label class="checkbox_label" for="bp_debug_mode">
<input id="bp_debug_mode" type="checkbox">
<span>Debug Mode</span>
</label>
</div>
</div>
</div>
</div>