openai/codex · error
features.current_time_reminder.clock_source is external, but
Error message
features.current_time_reminder.clock_source is external, but no external current-time provider is available
What it means
Error "features.current_time_reminder.clock_source is external, but no external current-time provider is available" thrown in openai/codex.
Source
Thrown at codex-rs/core/src/current_time.rs:50
Box::pin(async { Ok(Utc::now()) })
}
fn sleep(&self, _thread_id: ThreadId, duration: Duration) -> SleepFuture<'_> {
Box::pin(async move {
tokio::time::sleep(duration).await;
Ok(())
})
}
}
pub(crate) fn resolve_time_provider(
config: Option<&CurrentTimeReminderConfig>,
external_provider: Option<Arc<dyn TimeProvider>>,
) -> Result<Arc<dyn TimeProvider>> {
match config.map(|config| config.clock_source).unwrap_or_default() {
CurrentTimeSource::System => Ok(Arc::new(SystemTimeProvider)),
CurrentTimeSource::External => external_provider.ok_or_else(|| {
anyhow!(
"features.current_time_reminder.clock_source is external, but no external current-time provider is available"
)
}),
}
}
View on GitHub (pinned to 339751715c)
Solutions
- Provide an external current-time provider, or change features.current_time_reminder.clock_source.
When it happens
Trigger: Thrown at codex-rs/core/src/current_time.rs:50 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of openai/codex@339751715c (2026-08-25).
Data as JSON: /api/errors/5659dbd8a1f25fea.
Report an issue: GitHub.