refactor(memory): keep default hybrid weights while adding relevance threshold

This commit is contained in:
Chummy 2026-02-18 14:10:35 +08:00
parent 8a1e7cc7ef
commit decea532ed
2 changed files with 4 additions and 4 deletions

View file

@ -274,8 +274,8 @@ fn memory_config_defaults_for_backend(backend: &str) -> MemoryConfig {
embedding_provider: "none".to_string(),
embedding_model: "text-embedding-3-small".to_string(),
embedding_dimensions: 1536,
vector_weight: 0.4,
keyword_weight: 0.6,
vector_weight: 0.7,
keyword_weight: 0.3,
min_relevance_score: 0.4,
embedding_cache_size: if profile.uses_sqlite_hygiene {
10000