-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.html
More file actions
85 lines (77 loc) · 2.44 KB
/
settings.html
File metadata and controls
85 lines (77 loc) · 2.44 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
<div id="anchor_memory_settings" class="am-container">
<div class="am-header">
<h3>Anchor Memory</h3>
<p>LLM-powered RP memory for scene continuity and episode recall.</p>
</div>
<div class="am-card">
<label>
<input id="am_enabled" type="checkbox" checked />
Enable Anchor Memory
</label>
</div>
<div class="am-card">
<h4>Memory Model</h4>
<p class="am-hint">Required. Memory stays inactive until both fields are set.</p>
<label class="am-field">
<span>Model source</span>
<input id="am_memory_model_source" type="text" placeholder="e.g. openai, openrouter" />
</label>
<label class="am-field">
<span>Model ID</span>
<input id="am_memory_model" type="text" placeholder="e.g. openai/gpt-5.4-nano" />
</label>
</div>
<div class="am-card">
<h4>Prompt</h4>
<label class="am-field">
<span>Position</span>
<select id="am_prompt_position">
<option value="in_chat">In Chat</option>
<option value="in_prompt">In Prompt</option>
<option value="before_prompt">Before Prompt</option>
</select>
</label>
<label class="am-field">
<span>Depth</span>
<input id="am_prompt_depth" type="number" min="0" step="1" />
</label>
<label class="am-field">
<span>Format</span>
<select id="am_memory_format">
<option value="text">Plain Text</option>
<option value="xml">XML (recommended for Claude/GPT)</option>
</select>
</label>
</div>
<div class="am-card">
<h4>Features</h4>
<label>
<input id="am_llm_consolidation" type="checkbox" />
Consolidate older episodes into higher-level memories
</label>
<label>
<input id="am_memory_tool_enabled" type="checkbox" />
Register recall_memory tool (model calls it on demand)
</label>
</div>
<div class="am-card">
<h4>Debug</h4>
<label>
<input id="am_debug_retrieval_logging" type="checkbox" />
Log retrieval scoring to browser console
</label>
<p class="am-hint">Use /am-eval to view the last retrieval breakdown.</p>
</div>
<div class="am-card">
<h4>Current Status</h4>
<pre id="am_status" class="am-pre">Loading...</pre>
</div>
<div class="am-card">
<h4>Last Selection</h4>
<pre id="am_last_selection" class="am-pre">(none)</pre>
</div>
<div class="am-card">
<h4>Prompt Preview</h4>
<pre id="am_last_injection" class="am-pre">(none)</pre>
</div>
</div>