Skip to content

Context window does not open if context contains file that has been deleted #1136

@gregorynewman-confiant

Description

@gregorynewman-confiant

Please update gptel first -- errors are often fixed by the time they're reported.

  • I have updated gptel to the latest commit and tested that the issue still exists

Bug Description

If you add a file to the context, and then later delete (or rename) that file, the context window no longer opens. A quick fix is to touch filename in the console and then delete it from the Context and, if you've renamed something to have caused this, add the file again.

Error message:

if: Opening input file: No such file or directory, /home/user/projects/myproject/backend/Dockerfile

Backend

None

Steps to Reproduce

  1. Add a file to the context
  2. Delete or move that file
  3. Try to view the context

Additional Context

Emacs version 30.2
Arch Linux on QubesOS

Backtrace

Log Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwaitingWaiting for a response from another party.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions