ReMe/reme4/steps/evolve
jinliyl c4ca617992
Some checks failed
Pre-commit / run (ubuntu-latest) (push) Has been cancelled
Tests ReMe / Unit Tests - py3.10 (push) Has been cancelled
Tests ReMe / Unit Tests - py3.13 (push) Has been cancelled
refactor(evolve): consolidate auto memory planner and writer into single step (#267)
* refactor(evolve): consolidate auto memory planner and writer into single step

- Removed separate AutoMemoryPlannerStep and AutoMemoryWriterStep classes
- Combined functionality into new AutoMemoryStep class in auto_memory.py
- Migrated prompt templates from separate YAML files to unified auto_memory.yaml
- Updated module imports to reference new consolidated step
- Simplified memory recording process using single ReAct agent instead of two-stage planning/writing
- Maintained same input/output contract with messages, session_id, and memory_hint parameters
- Preserved all original functionality for creating/updating daily notes with conversation facts

* fix(daily): update empty session_id handling to create day-level file

- Changed test to verify empty session_id creates day-level file daily/<date>.md
- Updated assertion to check response success instead of rejection
- Modified metadata verification to include path, session_id and created status
- Added file existence check for the generated daily markdown file
- Updated test name and print statement to reflect new behavior
- Fixed test registration to use updated function name
2026-05-29 18:02:10 +08:00
..
__init__.py refactor(steps): update auto-memory (#263) 2026-05-29 12:07:44 +08:00
_evolve.py refactor(evolve): replace ReActAgent with FlexReActAgent to allow structured output (#265) 2026-05-29 15:19:56 +08:00
auto_memory.py refactor(evolve): consolidate auto memory planner and writer into single step (#267) 2026-05-29 18:02:10 +08:00
auto_memory.yaml refactor(evolve): consolidate auto memory planner and writer into single step (#267) 2026-05-29 18:02:10 +08:00