Skip to content

Commit 984a369

Browse files
Make missing state DB a fatal error
1 parent b457217 commit 984a369

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codex-rs/core/src/tools/handlers/agent_jobs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ fn required_state_db(
482482
session: &Arc<Session>,
483483
) -> Result<Arc<codex_state::StateRuntime>, FunctionCallError> {
484484
session.state_db().ok_or_else(|| {
485-
FunctionCallError::RespondToModel(
485+
FunctionCallError::Fatal(
486486
"sqlite state db is unavailable for this session; enable the sqlite feature"
487487
.to_string(),
488488
)

0 commit comments

Comments
 (0)