feat: use memory usage for selection (#12909)

This commit is contained in:
jif-oai
2026-02-26 16:44:02 +00:00
committed by GitHub
parent 1503a8dad7
commit c528f32acb
8 changed files with 329 additions and 16 deletions

View File

@@ -2467,6 +2467,7 @@ persistence = "none"
let memories = r#"
[memories]
max_raw_memories_for_global = 512
max_unused_days = 21
max_rollout_age_days = 42
max_rollouts_per_startup = 9
min_rollout_idle_hours = 24
@@ -2478,6 +2479,7 @@ phase_2_model = "gpt-5"
assert_eq!(
Some(MemoriesToml {
max_raw_memories_for_global: Some(512),
max_unused_days: Some(21),
max_rollout_age_days: Some(42),
max_rollouts_per_startup: Some(9),
min_rollout_idle_hours: Some(24),
@@ -2497,6 +2499,7 @@ phase_2_model = "gpt-5"
config.memories,
MemoriesConfig {
max_raw_memories_for_global: 512,
max_unused_days: 21,
max_rollout_age_days: 42,
max_rollouts_per_startup: 9,
min_rollout_idle_hours: 24,