Skip to content

No longer possible to paste paths to images #9283

@embedding-shapes

Description

@embedding-shapes

What version of Codex is running?

codex-cli 0.84.0

What subscription do you have?

Pro

Which model were you using?

N/A

What platform is your computer?

Linux 6.18.2-1-cachyos-bore-lto x86_64 unknown

What terminal emulator and version are you using (if applicable)?

alacritty 0.16.1 (42f49eeb)

What issue are you seeing?

Currently, when pasting a path to an image that exists in Codex, like "a-directory/a-image.png", Codex doesn't let the path be a path, but instead turn it into [Image #1] or similar. If you paste a path to an image that doesn't exists, Codex doesn't do that anymore.

What steps can reproduce the bug?

  • Write/acquire a path to an image Codex has access to
  • Copy that path as a string
  • Paste it into Codex

What is the expected behavior?

When pasting strings, Codex lets the strings be strings, instead of turning them into images for codex to read.

When pasting image data, then Codex should try to read it as an image, this is correct.

Additional information

As mentioned, this only seems to happen when pasting a string path to an image that does exist on disk, that Codex can read. Otherwise it keeps the path as a string.

Valid workaround for now is to paste an incorrect path, then manually fix it after pasting it into Codex. But I think we all agree one shouldn't have to do this :)

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions