mirror of
https://github.com/openai/codex.git
synced 2026-09-05 15:18:41 +00:00
refactor(thread-store): align model context module name
This commit is contained in:
@@ -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;
|
||||
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user