non-escaped mustache templating

This commit is contained in:
Nate 2024-11-29 14:50:56 -08:00
parent a1ef58dbf5
commit dfb358aace
4 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ import { BuiltInToolNames } from "../builtIn";
export const exactSearchTool: Tool = {
type: "function",
displayTitle: "Exact Search",
wouldLikeTo: 'search for "{{ query }}" in the repository',
wouldLikeTo: 'search for "{{{ query }}}" in the repository',
readonly: true,
function: {
name: BuiltInToolNames.ExactSearch,

View file

@ -4,7 +4,7 @@ import { BuiltInToolNames } from "../builtIn";
export const readFileTool: Tool = {
type: "function",
displayTitle: "Read File",
wouldLikeTo: "read {{ filepath }}",
wouldLikeTo: "read {{{ filepath }}}",
readonly: true,
function: {
name: BuiltInToolNames.ReadFile,

View file

@ -5,7 +5,7 @@ import { BuiltInToolNames } from "../builtIn";
export const searchWebTool: Tool = {
type: "function",
displayTitle: "Search Web",
wouldLikeTo: 'search the web for "{{ query }}"',
wouldLikeTo: 'search the web for "{{{ query }}}"',
readonly: true,
function: {
name: BuiltInToolNames.SearchWeb,

View file

@ -4,7 +4,7 @@ import { BuiltInToolNames } from "../builtIn";
export const viewSubdirectoryTool: Tool = {
type: "function",
displayTitle: "View Subdirectory",
wouldLikeTo: 'view the contents of "{{ directory_path }}"',
wouldLikeTo: 'view the contents of "{{{ directory_path }}}"',
readonly: true,
function: {
name: BuiltInToolNames.ViewSubdirectory,