diff --git a/codex-rs/common/src/approval_presets.rs b/codex-rs/common/src/approval_presets.rs index 6c3bf395..6dc0cff0 100644 --- a/codex-rs/common/src/approval_presets.rs +++ b/codex-rs/common/src/approval_presets.rs @@ -24,21 +24,21 @@ pub fn builtin_approval_presets() -> Vec { ApprovalPreset { id: "read-only", label: "Read Only", - description: "Codex can read files and answer questions. Codex requires approval to make edits, run commands, or access network.", + description: "Codex can read files and answer questions. Codex requires approval to make edits, run commands, or access network", approval: AskForApproval::OnRequest, sandbox: SandboxPolicy::ReadOnly, }, ApprovalPreset { id: "auto", label: "Auto", - description: "Codex can read files, make edits, and run commands in the workspace. Codex requires approval to work outside the workspace or access network.", + description: "Codex can read files, make edits, and run commands in the workspace. Codex requires approval to work outside the workspace or access network", approval: AskForApproval::OnRequest, sandbox: SandboxPolicy::new_workspace_write_policy(), }, ApprovalPreset { id: "full-access", label: "Full Access", - description: "Codex can read files, make edits, and run commands with network access, without approval. Exercise caution.", + description: "Codex can read files, make edits, and run commands with network access, without approval. Exercise caution", approval: AskForApproval::Never, sandbox: SandboxPolicy::DangerFullAccess, }, diff --git a/codex-rs/common/src/model_presets.rs b/codex-rs/common/src/model_presets.rs index 16ec9be1..686a2c02 100644 --- a/codex-rs/common/src/model_presets.rs +++ b/codex-rs/common/src/model_presets.rs @@ -24,28 +24,28 @@ pub fn builtin_model_presets() -> &'static [ModelPreset] { ModelPreset { id: "gpt-5-minimal", label: "gpt-5 minimal", - description: "— Fastest responses with very limited reasoning; ideal for coding, instructions, or lightweight tasks.", + description: "— fastest responses with limited reasoning; ideal for coding, instructions, or lightweight tasks", model: "gpt-5", effort: ReasoningEffort::Minimal, }, ModelPreset { id: "gpt-5-low", label: "gpt-5 low", - description: "— Balances speed with some reasoning; useful for straightforward queries and short explanations.", + description: "— balances speed with some reasoning; useful for straightforward queries and short explanations", model: "gpt-5", effort: ReasoningEffort::Low, }, ModelPreset { id: "gpt-5-medium", label: "gpt-5 medium", - description: "— Default setting; provides a solid balance of reasoning depth and latency for general-purpose tasks.", + description: "— default setting; provides a solid balance of reasoning depth and latency for general-purpose tasks", model: "gpt-5", effort: ReasoningEffort::Medium, }, ModelPreset { id: "gpt-5-high", label: "gpt-5 high", - description: "— Maximizes reasoning depth for complex or ambiguous problems.", + description: "— maximizes reasoning depth for complex or ambiguous problems", model: "gpt-5", effort: ReasoningEffort::High, }, diff --git a/codex-rs/tui/src/chatwidget.rs b/codex-rs/tui/src/chatwidget.rs index 0c72b621..8d981b94 100644 --- a/codex-rs/tui/src/chatwidget.rs +++ b/codex-rs/tui/src/chatwidget.rs @@ -771,7 +771,7 @@ impl ChatWidget<'_> { } self.bottom_pane.show_selection_view( - "Select Approvals Mode".to_string(), + "Select Approval Mode".to_string(), None, Some("Press Enter to confirm or Esc to go back".to_string()), items, diff --git a/codex-rs/tui/src/history_cell.rs b/codex-rs/tui/src/history_cell.rs index 021c09e3..3583aaa3 100644 --- a/codex-rs/tui/src/history_cell.rs +++ b/codex-rs/tui/src/history_cell.rs @@ -168,7 +168,8 @@ pub(crate) fn new_session_info( Line::from("".dim()), Line::from(format!(" /init - {}", SlashCommand::Init.description()).dim()), Line::from(format!(" /status - {}", SlashCommand::Status.description()).dim()), - Line::from(format!(" /diff - {}", SlashCommand::Diff.description()).dim()), + Line::from(format!(" /approvals - {}", SlashCommand::Approvals.description()).dim()), + Line::from(format!(" /model - {}", SlashCommand::Model.description()).dim()), Line::from("".dim()), ]; PlainHistoryCell { lines } diff --git a/codex-rs/tui/src/slash_command.rs b/codex-rs/tui/src/slash_command.rs index 13ce2ff0..6311661b 100644 --- a/codex-rs/tui/src/slash_command.rs +++ b/codex-rs/tui/src/slash_command.rs @@ -38,7 +38,7 @@ impl SlashCommand { SlashCommand::Diff => "show git diff (including untracked files)", SlashCommand::Mention => "mention a file", SlashCommand::Status => "show current session configuration and token usage", - SlashCommand::Model => "choose a model preset (model + reasoning effort)", + SlashCommand::Model => "choose what model and reasoning effort to use", SlashCommand::Approvals => "choose what Codex can do without approval", SlashCommand::Mcp => "list configured MCP tools", SlashCommand::Logout => "log out of Codex",