diff --git a/package-lock.json b/package-lock.json
index d17274c7c2..35af93ab3e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -60,12 +60,14 @@
"focus-trap": "^7.6.4",
"fuse.js": "^7.0.0",
"heic2any": "^0.0.4",
+ "heroicons": "^2.2.0",
"highlight.js": "^11.9.0",
"html-entities": "^2.5.3",
"html2canvas-pro": "^1.5.11",
"i18next": "^23.10.0",
"i18next-browser-languagedetector": "^7.2.0",
"i18next-resources-to-backend": "^1.2.0",
+ "iconoir": "^7.12.1",
"js-sha256": "^0.10.1",
"jspdf": "^4.0.0",
"jszip": "^3.10.1",
@@ -9278,6 +9280,12 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/heroicons": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/heroicons/-/heroicons-2.2.0.tgz",
+ "integrity": "sha512-yOwvztmNiBWqR946t+JdgZmyzEmnRMC2nxvHFC90bF1SUttwB6yJKYeme1JeEcBfobdOs827nCyiWBS2z/brog==",
+ "license": "MIT"
+ },
"node_modules/highlight.js": {
"version": "11.11.1",
"resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz",
@@ -9505,6 +9513,16 @@
"@babel/runtime": "^7.23.2"
}
},
+ "node_modules/iconoir": {
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/iconoir/-/iconoir-7.12.1.tgz",
+ "integrity": "sha512-7ei4jd1bss0Ukyz/bbM9Zc96aLfZuwTEkSW8u5fx5h3X9912MsnmWwPw9LyTUtcf0ShfTzQeQ9oG7IslW3hrLg==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/iconoir"
+ }
+ },
"node_modules/iconv-lite": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
diff --git a/package.json b/package.json
index 16f139835f..eb9babb7f3 100644
--- a/package.json
+++ b/package.json
@@ -104,12 +104,14 @@
"focus-trap": "^7.6.4",
"fuse.js": "^7.0.0",
"heic2any": "^0.0.4",
+ "heroicons": "^2.2.0",
"highlight.js": "^11.9.0",
"html-entities": "^2.5.3",
"html2canvas-pro": "^1.5.11",
"i18next": "^23.10.0",
"i18next-browser-languagedetector": "^7.2.0",
"i18next-resources-to-backend": "^1.2.0",
+ "iconoir": "^7.12.1",
"js-sha256": "^0.10.1",
"jspdf": "^4.0.0",
"jszip": "^3.10.1",
diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte
index edb82e97f4..ae342f7d8f 100644
--- a/src/lib/components/chat/MessageInput.svelte
+++ b/src/lib/components/chat/MessageInput.svelte
@@ -110,6 +110,7 @@
import CommandSuggestionList from './MessageInput/CommandSuggestionList.svelte';
import Knobs from '../icons/Knobs.svelte';
+ import CodeBrackets from '../icons/CodeBrackets.svelte';
import ValvesModal from '../workspace/common/ValvesModal.svelte';
import Note from '../icons/Note.svelte';
import AskUserCard from './AskUserCard.svelte';
@@ -2358,6 +2359,22 @@
{/if}
+
+ {#if hasChatVariables}
+