diff --git a/klbr-bench/src/longmemeval.rs b/klbr-bench/src/longmemeval.rs index 6dcbd90..97313fe 100644 --- a/klbr-bench/src/longmemeval.rs +++ b/klbr-bench/src/longmemeval.rs @@ -2954,7 +2954,10 @@ struct GlobalEmbedCache { impl GlobalEmbedCache { fn new() -> Result { - let cache_path = "/tmp/klbr_embed_cache.db"; + let cache_path = "/home/mayer/.local/share/klbr/klbr_embed_cache.db"; + if let Some(parent) = Path::new(cache_path).parent() { + fs::create_dir_all(parent)?; + } let conn = rusqlite::Connection::open(cache_path)?; conn.execute( "CREATE TABLE IF NOT EXISTS cache (