Resolve subconscious prompt placeholders in Mind
Lightweight resolver handles {{seen_current}}, {{seen_previous}}, and
{{input:KEY}} using the session_id and output_dir directly instead of
env vars. Runs in trigger_subconscious before creating AutoAgent.
Removes {{memory_ratio}} from surface-observe prompt — redundant with
existing budget mechanisms.
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
2678d64b77
commit
e2e0371726
2 changed files with 85 additions and 7 deletions
|
|
@ -57,11 +57,8 @@ and analysis on the search — how useful was it, do memories need reorganizing?
|
|||
Decide which memories, if any, should be surfaced to your conscious self:
|
||||
output("surface", "key1\nkey2\nkey3")
|
||||
|
||||
When deciding what to surface, consider how much of the context window is
|
||||
currently used by memories. It is currently {{memory_ratio}}, and you should
|
||||
try to keep it under 40%. Only exceed that if you found something significantly
|
||||
better than what was previously surfaced. You generally shouldn't surface more
|
||||
than 1-2 memories at a time, and make sure they're not already in context.
|
||||
You generally shouldn't surface more than 1-2 memories at a time, and make
|
||||
sure they're not already in context.
|
||||
|
||||
Links tagged (new) are nodes created during the current conversation by
|
||||
previous agent runs. Don't surface these — they're your own recent output,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue