fix(image): accept @-prefixed file paths
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user