fix(image): accept @-prefixed file paths

This commit is contained in:
Peter Steinberger committed 2026-01-12 20:53:16 +00:00
1 parent 6f496b7739
commit cd12ad8aab
4 files changed
+11 -4

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ describe("image tool implicit imageModel config", () => {
const res = await tool.execute("t1", {
prompt: "Describe the image.",
image: "/Users/steipete/.clawdbot/media/inbound/photo.png",
image: "@/Users/steipete/.clawdbot/media/inbound/photo.png",
});
expect(fetch).toHaveBeenCalledTimes(1);