summaryrefslogtreecommitdiff
path: root/agent/tools/read.lua
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tools/read.lua')
-rw-r--r--agent/tools/read.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tools/read.lua b/agent/tools/read.lua
index cd7f26b..ba4fa64 100644
--- a/agent/tools/read.lua
+++ b/agent/tools/read.lua
@@ -32,7 +32,7 @@ local tool = {
-- Minimal magic-byte sniff: binary attachment (image/PDF) vs. text.
-- We only decide *whether* the bytes are an attachment; libpanto does the
-- precise type detection, resizing, and encoding from the raw bytes. Keep
--- this in lockstep with `libpanto/src/image.zig`'s `detectCodec`.
+-- this in lockstep with `code.tjp.lol/libpantograph.git/src/image.zig`'s `detectCodec`.
local function is_attachment(head)
local b = { head:byte(1, 12) }
-- PNG: 89 50 4E 47 0D 0A 1A 0A