mirror of
https://github.com/openai/codex.git
synced 2026-11-13 21:30:47 +00:00
## Why Relative attachment paths in queued submissions should refer to files in the thread's working directory, even when the app server runs from a different directory. ## What changed Resolve relative `LocalImage` and `LocalAudio` paths against the loaded thread's current working directory or the stored working directory for an unloaded thread when adding or updating queued submissions. Preserve absolute paths and reject relative paths that cannot be resolved to an absolute path. ## Testing Add a regression test for queue add and update with different images sharing the same filename in the thread and server working directories. Verify that the relative path selects the thread's image and that explicit absolute paths retain their meaning. GitOrigin-RevId: 3c1a48693c031f1c650650a9b3a7059fb962ba5c