core: route view_image through a sandbox-backed fs helper

This commit is contained in:
Michael Bolin
2026-03-19 09:45:52 -07:00
parent 859c58f07d
commit 0a8cdc5890
21 changed files with 826 additions and 35 deletions

View File

@@ -59,7 +59,6 @@ pub fn load_for_prompt_bytes(
mode: PromptImageMode,
) -> Result<EncodedImage, ImageProcessingError> {
let path_buf = path.to_path_buf();
let key = ImageCacheKey {
digest: sha1_digest(&file_bytes),
mode,