You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Save images locally and provide path info in messages (#14)
# Image Local Path Feature
This PR implements the feature requested in issue #12 to allow agents
programmatic access to images by:
1. Saving incoming images to the local filesystem at
`~/.remote_swe_workspace/images/image[seqNo].[extension]`
2. Appending a text block after each image block with path information
3. Maintaining a sequence counter that increments for each image and
resets when the process is killed
## Implementation Details:
- Added utility functions to save images locally
- Modified `postProcessMessageContent` to append text blocks with path
info
- Images are saved as webp format (matching the existing conversion)
Fixes#12
---------
Co-authored-by: remote-swe-app[bot] <123456+remote-swe-app[bot]@users.noreply.github.com>
Co-authored-by: Masashi Tomooka <[email protected]>
0 commit comments