-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Keep files in memory in case of disk full truncation #16898
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesttool-callsIssues related to tool callingIssues related to tool calling
Description
What variant of Codex are you using?
CLI
What feature would you like to see?
On Linux, when Codex tries to modify a file, if it's full, the file is truncated to 0 length. On a traditional code editor, this isn't as traumatic since one can clear up space and save from the buffer again to rescue changes. But with Codex, one has to ask the model to reproduce the file from VCS history and it's context memory. Viable but not comfortable.
Additional information
Not sure how to best expose this feature but the model already sees when a file save fails due to full disk. Maybe it should be provided with a tool call for recovery when it happens?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttool-callsIssues related to tool callingIssues related to tool calling
Type
Fields
Give feedbackNo fields configured for issues without a type.