mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
feat: show the version when starting Codex
This commit is contained in:
@@ -120,7 +120,12 @@ impl EventProcessor {
|
||||
/// for the session. This mirrors the information shown in the TUI welcome
|
||||
/// screen.
|
||||
pub(crate) fn print_config_summary(&mut self, config: &Config, prompt: &str) {
|
||||
ts_println!(self, "OpenAI Codex (research preview)\n--------");
|
||||
const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
ts_println!(
|
||||
self,
|
||||
"OpenAI Codex v{} (research preview)\n--------",
|
||||
VERSION
|
||||
);
|
||||
|
||||
let entries = vec![
|
||||
("workdir", config.cwd.display().to_string()),
|
||||
|
||||
Reference in New Issue
Block a user