mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
refactor(thread-store): shorten model context module name
This commit is contained in:
@@ -4,7 +4,7 @@ mod delete_thread;
|
||||
mod helpers;
|
||||
mod list_threads;
|
||||
mod live_writer;
|
||||
mod load_latest_model_context;
|
||||
mod model_context;
|
||||
mod read_thread;
|
||||
mod search_threads;
|
||||
mod unarchive_thread;
|
||||
@@ -283,9 +283,7 @@ impl ThreadStore for LocalThreadStore {
|
||||
&self,
|
||||
params: LoadThreadHistoryParams,
|
||||
) -> ThreadStoreFuture<'_, StoredModelContext> {
|
||||
Box::pin(
|
||||
async move { load_latest_model_context::load_latest_model_context(self, params).await },
|
||||
)
|
||||
Box::pin(async move { model_context::load_latest_model_context(self, params).await })
|
||||
}
|
||||
|
||||
fn read_thread(&self, params: ReadThreadParams) -> ThreadStoreFuture<'_, StoredThread> {
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ use crate::ThreadStoreError;
|
||||
use crate::ThreadStoreResult;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "load_latest_model_context_tests.rs"]
|
||||
#[path = "model_context_tests.rs"]
|
||||
mod tests;
|
||||
|
||||
const READ_CHUNK_SIZE: usize = 64 * 1024;
|
||||
Reference in New Issue
Block a user