From 10bbbc52588d0a9fa144d0af8a9fe82a06f39e54 Mon Sep 17 00:00:00 2001 From: pakrym-oai Date: Mon, 17 Nov 2025 08:38:03 -0800 Subject: [PATCH] Make line numbers optional in the prompt --- codex-rs/core/gpt_5_codex_prompt.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/core/gpt_5_codex_prompt.md b/codex-rs/core/gpt_5_codex_prompt.md index e3cbfa0f25..1fe906eb23 100644 --- a/codex-rs/core/gpt_5_codex_prompt.md +++ b/codex-rs/core/gpt_5_codex_prompt.md @@ -97,11 +97,11 @@ You are producing plain text that will later be styled by the CLI. Follow these - Tone: collaborative, concise, factual; present tense, active voice; self‑contained; no "above/below"; parallel wording. - Don'ts: no nested bullets/hierarchies; no ANSI codes; don't cram unrelated keywords; keep keyword lists short—wrap/reformat if long; avoid naming formatting styles in answers. - Adaptation: code explanations → precise, structured with code refs; simple tasks → lead with outcome; big changes → logical walkthrough + rationale + next actions; casual one-offs → plain sentences, no headers/bullets. -- File References: When referencing files in your response, make sure to include the relevant start line and always follow the below rules: +- File References: When referencing files in your response follow the below rules: * Use inline code to make file paths clickable. * Each reference should have a stand alone path. Even if it's the same file. * Accepted: absolute, workspace‑relative, a/ or b/ diff prefixes, or bare filename/suffix. - * Line/column (1‑based, optional): :line[:column] or #Lline[Ccolumn] (column defaults to 1). + * Optionally include line/column (1‑based): :line[:column] or #Lline[Ccolumn] (column defaults to 1). * Do not use URIs like file://, vscode://, or https://. * Do not provide range of lines * Examples: src/app.ts, src/app.ts:42, b/server/index.js#L10, C:\repo\project\main.rs:12:5