adjust gc thresholds

This commit is contained in:
AI Christianson 2025-03-03 17:00:08 -05:00
parent 36e4004db0
commit ffd1ef15d4
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ def emit_key_facts(facts: List[str]) -> str:
# Check if we need to clean up facts (more than 30)
try:
all_facts = get_key_fact_repository().get_all()
if len(all_facts) > 30:
if len(all_facts) > 50:
# Trigger the key facts cleaner agent
try:
from ra_aid.agents.key_facts_gc_agent import run_key_facts_gc_agent
@ -271,7 +271,7 @@ def emit_key_snippet(snippet_info: SnippetInfo) -> str:
# Check if we need to clean up snippets (more than 20)
all_snippets = get_key_snippet_repository().get_all()
if len(all_snippets) > 20:
if len(all_snippets) > 35:
# Trigger the key snippets cleaner agent
try:
from ra_aid.agents.key_snippets_gc_agent import run_key_snippets_gc_agent