[FEATURE]: update base prompt to remove obvious comments #3857

Open
opened 2026-02-16 17:41:42 -05:00 by yindo · 1 comment
Owner

Originally created by @scarf005 on GitHub (Dec 25, 2025).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

code output generates obvious comments which needs cleanup manually with using extra tokens.

    ⋮ 95 │        // Create parent directories if they don't exist
    ⋮ 96 │        dir := filepath.Dir(rootCfg.Path)
    ⋮ 97 │        if err := os.MkdirAll(dir, 0755); err != nil {
    ⋮ 98 │                return err
    ⋮ 99 │        }
    ⋮ 100│
Originally created by @scarf005 on GitHub (Dec 25, 2025). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request code output generates obvious comments which needs cleanup manually with using extra tokens. ``` ⋮ 95 │ // Create parent directories if they don't exist ⋮ 96 │ dir := filepath.Dir(rootCfg.Path) ⋮ 97 │ if err := os.MkdirAll(dir, 0755); err != nil { ⋮ 98 │ return err ⋮ 99 │ } ⋮ 100│ ```
yindo added the discussion label 2026-02-16 17:41:42 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 25, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #6034: [FEATURE]: Prompt Compression - Similar goal of saving tokens by optimizing prompts
  • #5360: prompt is too long - Related to excessive token usage in prompts
  • #4845: prompt is too long unrecoverable - Related to token limit issues and need for prompt optimization

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 25, 2025): This issue might be a duplicate of existing issues. Please check: - #6034: [FEATURE]: Prompt Compression - Similar goal of saving tokens by optimizing prompts - #5360: prompt is too long - Related to excessive token usage in prompts - #4845: prompt is too long unrecoverable - Related to token limit issues and need for prompt optimization Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3857