mirror of
https://github.com/openai/codex.git
synced 2026-09-13 11:47:17 +00:00
codex: qualify state_db init call
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -233,8 +233,8 @@ use codex_core::read_head_for_summary;
|
||||
use codex_core::read_session_meta_line;
|
||||
use codex_core::rollout_date_parts;
|
||||
use codex_core::sandboxing::SandboxPermissions;
|
||||
use codex_core::state_db;
|
||||
use codex_core::state_db::StateDbHandle;
|
||||
use codex_core::state_db::init;
|
||||
use codex_core::state_db::reconcile_rollout;
|
||||
use codex_core::windows_sandbox::WindowsSandboxLevelExt;
|
||||
use codex_core::windows_sandbox::WindowsSandboxSetupMode as CoreWindowsSandboxSetupMode;
|
||||
@@ -438,7 +438,7 @@ impl CodexMessageProcessor {
|
||||
async fn shared_state_db(&self) -> Option<StateDbHandle> {
|
||||
match self.state_db.as_ref() {
|
||||
Some(state_db) => Some(state_db.clone()),
|
||||
None => init(self.config.as_ref()).await,
|
||||
None => state_db::init(self.config.as_ref()).await,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user