メモリPhase2の実装

This commit is contained in:
2026-05-01 23:00:55 +09:00
parent f1b7af6249
commit d8a7200ea4
18 changed files with 1862 additions and 2 deletions
+5
View File
@@ -50,3 +50,8 @@ pub const COMPACT_DEFAULT_REFERENCE_COUNT: usize = 5;
/// own LLM calls. Exceeding this aborts the extract run.
/// See [`crate::MemoryConfig::extract_worker_max_input_tokens`].
pub const MEMORY_EXTRACT_WORKER_MAX_INPUT_TOKENS: u64 = 30_000;
/// Cumulative input-token cap for the memory Phase 2 (consolidation)
/// worker's own LLM calls. Exceeding this aborts the consolidation run.
/// See [`crate::MemoryConfig::consolidation_worker_max_input_tokens`].
pub const MEMORY_CONSOLIDATION_WORKER_MAX_INPUT_TOKENS: u64 = 80_000;