Skip to content

Commit ee8c4ad

Browse files
authored
feat: copy tweaks (#2502)
- For selectable options, use sentences starting in lowercase and not ending with periods. To be honest I don't love this style, but better to be consistent for now. - Tweak some other strings. - Put in more compelling suggestions on launch. Excited to put `/mcp` in there next.
1 parent 202af12 commit ee8c4ad

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

codex-rs/common/src/approval_presets.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ pub fn builtin_approval_presets() -> Vec<ApprovalPreset> {
2424
ApprovalPreset {
2525
id: "read-only",
2626
label: "Read Only",
27-
description: "Codex can read files and answer questions. Codex requires approval to make edits, run commands, or access network.",
27+
description: "Codex can read files and answer questions. Codex requires approval to make edits, run commands, or access network",
2828
approval: AskForApproval::OnRequest,
2929
sandbox: SandboxPolicy::ReadOnly,
3030
},
3131
ApprovalPreset {
3232
id: "auto",
3333
label: "Auto",
34-
description: "Codex can read files, make edits, and run commands in the workspace. Codex requires approval to work outside the workspace or access network.",
34+
description: "Codex can read files, make edits, and run commands in the workspace. Codex requires approval to work outside the workspace or access network",
3535
approval: AskForApproval::OnRequest,
3636
sandbox: SandboxPolicy::new_workspace_write_policy(),
3737
},
3838
ApprovalPreset {
3939
id: "full-access",
4040
label: "Full Access",
41-
description: "Codex can read files, make edits, and run commands with network access, without approval. Exercise caution.",
41+
description: "Codex can read files, make edits, and run commands with network access, without approval. Exercise caution",
4242
approval: AskForApproval::Never,
4343
sandbox: SandboxPolicy::DangerFullAccess,
4444
},

codex-rs/common/src/model_presets.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,28 @@ pub fn builtin_model_presets() -> &'static [ModelPreset] {
2424
ModelPreset {
2525
id: "gpt-5-minimal",
2626
label: "gpt-5 minimal",
27-
description: "— Fastest responses with very limited reasoning; ideal for coding, instructions, or lightweight tasks.",
27+
description: "— fastest responses with limited reasoning; ideal for coding, instructions, or lightweight tasks",
2828
model: "gpt-5",
2929
effort: ReasoningEffort::Minimal,
3030
},
3131
ModelPreset {
3232
id: "gpt-5-low",
3333
label: "gpt-5 low",
34-
description: "— Balances speed with some reasoning; useful for straightforward queries and short explanations.",
34+
description: "— balances speed with some reasoning; useful for straightforward queries and short explanations",
3535
model: "gpt-5",
3636
effort: ReasoningEffort::Low,
3737
},
3838
ModelPreset {
3939
id: "gpt-5-medium",
4040
label: "gpt-5 medium",
41-
description: "— Default setting; provides a solid balance of reasoning depth and latency for general-purpose tasks.",
41+
description: "— default setting; provides a solid balance of reasoning depth and latency for general-purpose tasks",
4242
model: "gpt-5",
4343
effort: ReasoningEffort::Medium,
4444
},
4545
ModelPreset {
4646
id: "gpt-5-high",
4747
label: "gpt-5 high",
48-
description: "— Maximizes reasoning depth for complex or ambiguous problems.",
48+
description: "— maximizes reasoning depth for complex or ambiguous problems",
4949
model: "gpt-5",
5050
effort: ReasoningEffort::High,
5151
},

codex-rs/tui/src/chatwidget.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ impl ChatWidget<'_> {
771771
}
772772

773773
self.bottom_pane.show_selection_view(
774-
"Select Approvals Mode".to_string(),
774+
"Select Approval Mode".to_string(),
775775
None,
776776
Some("Press Enter to confirm or Esc to go back".to_string()),
777777
items,

codex-rs/tui/src/history_cell.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ pub(crate) fn new_session_info(
168168
Line::from("".dim()),
169169
Line::from(format!(" /init - {}", SlashCommand::Init.description()).dim()),
170170
Line::from(format!(" /status - {}", SlashCommand::Status.description()).dim()),
171-
Line::from(format!(" /diff - {}", SlashCommand::Diff.description()).dim()),
171+
Line::from(format!(" /approvals - {}", SlashCommand::Approvals.description()).dim()),
172+
Line::from(format!(" /model - {}", SlashCommand::Model.description()).dim()),
172173
Line::from("".dim()),
173174
];
174175
PlainHistoryCell { lines }

codex-rs/tui/src/slash_command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl SlashCommand {
3838
SlashCommand::Diff => "show git diff (including untracked files)",
3939
SlashCommand::Mention => "mention a file",
4040
SlashCommand::Status => "show current session configuration and token usage",
41-
SlashCommand::Model => "choose a model preset (model + reasoning effort)",
41+
SlashCommand::Model => "choose what model and reasoning effort to use",
4242
SlashCommand::Approvals => "choose what Codex can do without approval",
4343
SlashCommand::Mcp => "list configured MCP tools",
4444
SlashCommand::Logout => "log out of Codex",

0 commit comments

Comments
 (0)