aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/assistant/Files.js
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-17 12:03:31 +0100
committerDanilo M. <danix@danix.xyz>2026-11-17 12:03:31 +0100
commit403d88813622c45ea270d5168e9875e582bad4d4 (patch)
tree2a1704b050bb50390c095307ca2aff2bd878aeab /desktop/assistant/Files.js
parent4f1242ca873df8c167530475fcbd80808dc94a7d (diff)
downloadquickshell-403d88813622c45ea270d5168e9875e582bad4d4.tar.gz
quickshell-403d88813622c45ea270d5168e9875e582bad4d4.zip
assistant: chat takes videos, as a path for the video toolHEADmaster
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/assistant/Files.js')
-rw-r--r--desktop/assistant/Files.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/assistant/Files.js b/desktop/assistant/Files.js
index bcbd9bc..bea1841 100644
--- a/desktop/assistant/Files.js
+++ b/desktop/assistant/Files.js
@@ -28,8 +28,9 @@ const IMAGE = [".png", ".jpg", ".jpeg", ".gif", ".webp"];
const VIDEO = [".mp4", ".mkv", ".webm", ".mov", ".avi", ".m4v"];
const ARCHIVE = [".zip", ".tar", ".gz", ".tgz", ".xz", ".txz", ".bz2", ".zst", ".7z", ".rar"];
-// Kinds chat takes; the rest only get local actions.
-const CHAT = ["text", "code", "image", "pdf"];
+// Kinds chat takes; the rest only get local actions. A video goes as its
+// path only, for the video tool.
+const CHAT = ["text", "code", "image", "pdf", "video"];
function name(path) { return path.slice(path.lastIndexOf("/") + 1); }