feat: drop sqlite db feature flag (#13750)

This commit is contained in:
jif-oai
2026-03-06 16:57:52 +00:00
committed by GitHub
Unverified
parent b3765a07e8
commit fa16c26908
6 changed files with 17 additions and 36 deletions
+2 -4
View File
@@ -438,9 +438,7 @@ impl Codex {
// Respect thread-start tools. When missing (resumed/forked threads), read from the db
// first, then fall back to rollout-file tools.
let persisted_tools = if dynamic_tools.is_empty()
&& config.features.enabled(Feature::Sqlite)
{
let persisted_tools = if dynamic_tools.is_empty() {
let thread_id = match &conversation_history {
InitialHistory::Resumed(resumed) => Some(resumed.conversation_id),
InitialHistory::Forked(_) => conversation_history.forked_from_id(),
@@ -1251,7 +1249,7 @@ impl Session {
if config.ephemeral {
Ok::<_, anyhow::Error>((None, None))
} else {
let state_db_ctx = state_db::init_if_enabled(&config, None).await;
let state_db_ctx = state_db::init(&config, None).await;
let rollout_recorder = RolloutRecorder::new(
&config,
rollout_params,