Skip to content

Model sees [Pasted Content N chars] placeholder rather than the actual pasted content #13040

@filipviz

Description

@filipviz

Sometimes (but not always), pasted content is replaced with e.g. [Pasted Content 3525 chars] for the model. An example from a recent rollout log:

{
  "timestamp": "2026-02-27T18:20:45.533Z",
  "type": "response_item",
  "payload": {
    "type": "message",
    "role": "user",
    "content": [
      {
        "type": "input_text",
        "text": "[Pasted Content 3525 chars]\n\nCould you add these to experiments-2/scripts/sweep_static_nu.sh?"
      }
    ]
  }
}

I'm using codex v0.106.0 in ghostty 1.2.3 stable on macOS 26.3. I uploaded an example thread ID 019ca054-65b0-76f2-ab2c-67aa6f745f8d where this happens using /feedback. I've only experienced this in codex v0.106.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions