mirror of
https://github.com/openai/codex.git
synced 2026-03-05 21:45:28 +03:00
Avoid expect in realtime conversation test
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use anyhow::Context;
|
||||
use anyhow::Result;
|
||||
use chrono::Utc;
|
||||
use codex_core::CodexAuth;
|
||||
@@ -60,7 +61,7 @@ async fn seed_stage1_output(
|
||||
rollout_summary: &str,
|
||||
rollout_slug: &str,
|
||||
) -> Result<()> {
|
||||
let db = test.codex.state_db().expect("state db enabled");
|
||||
let db = test.codex.state_db().context("state db enabled")?;
|
||||
let thread_id = ThreadId::new();
|
||||
let updated_at = Utc::now();
|
||||
let mut metadata_builder = codex_state::ThreadMetadataBuilder::new(
|
||||
|
||||
Reference in New Issue
Block a user