Skip to content

Request for an option to disable pasting behavior when the text is a bit long #2551

Closed

Description

@saleh-mir

Hey guys, first of all, I want to thank you, the creators and maintainers of the project. You're making wonderful stuff 🙏❤️

I rely on voice‑to‑text because of wrist injuries. When I paste text into the editor (Either from copying and pasting it from somewhere else or simply when the voice-to-text generation tool I use pastes the text into the prompt section of OpenCode) it automatically formats it with a short text (look at the image), which makes things unusable for me.

I would appreciate it if you could add a config option to disable this.

Image

Activity

  1. github-actions commented on Sep 11, 2025

    @github-actions
    Contributor

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

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

  2. rekram1-node commented on Sep 11, 2025

    @rekram1-node
    Contributor

    will be added in next release, you will be able to add this to your opencode.json:

    {
      // this:
       "experimental": {
        "disable_paste_summary": true,
      },
    }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions