refactor(thread-store): align model context module name

This commit is contained in:
Owen Lin
2026-07-06 16:46:26 -07:00
parent 2a733ea303
commit 1fdc707b80
3 changed files with 5 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ use crate::ThreadStoreError;
use crate::ThreadStoreResult;
#[cfg(test)]
#[path = "read_model_context_tests.rs"]
#[path = "load_latest_model_context_tests.rs"]
mod tests;
const READ_CHUNK_SIZE: usize = 64 * 1024;

View File

@@ -4,7 +4,7 @@ mod delete_thread;
mod helpers;
mod list_threads;
mod live_writer;
mod read_model_context;
mod load_latest_model_context;
mod read_thread;
mod search_threads;
mod unarchive_thread;
@@ -283,7 +283,9 @@ impl ThreadStore for LocalThreadStore {
&self,
params: LoadThreadHistoryParams,
) -> ThreadStoreFuture<'_, StoredModelContext> {
Box::pin(async move { read_model_context::load_latest_model_context(self, params).await })
Box::pin(
async move { load_latest_model_context::load_latest_model_context(self, params).await },
)
}
fn read_thread(&self, params: ReadThreadParams) -> ThreadStoreFuture<'_, StoredThread> {