Skip to content

reflect: opt-in FRESH_CONTEXT resets history before each triggered task - #835

Open
cuipengcx90 wants to merge 1 commit into
lsdefine:mainfrom
cuipengcx90:feat/20261014-reflect-fresh-session
Open

cuipengcx90 wants to merge 1 commit into
lsdefine:mainfrom
cuipengcx90:feat/20261014-reflect-fresh-session

Conversation

@cuipengcx90

Copy link
Copy Markdown
Contributor

Fixes #833. New optional reflect-module attribute FRESH_CONTEXT (next to INTERVAL/ONCE/LLM); when true the loop calls reset_conversation(agent, snapshot=False) before put_task. snapshot=False is a new keyword, default unchanged so /new behaves as before. reflect/scheduler.py enables it; other reflect scripts are unaffected. Nothing is injected into the conversation, so this does not conflict with the #282 rationale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--reflect: history carries over between unrelated triggered tasks (opt-in fresh context)

1 participant