From 4ef483126dedd8a28e9c4282116163529fbda1b7 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Thu, 16 Oct 2025 15:48:53 -0600 Subject: [PATCH] bug: corrected a typo for sourcing the prompt utility bash script in the built-in tools --- assets/functions/tools/execute_command.sh | 4 ++-- assets/functions/tools/execute_sql_code.sh | 2 +- assets/functions/tools/fs_patch.sh | 2 +- assets/functions/tools/fs_rm.sh | 4 ++-- assets/functions/tools/fs_write.sh | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/functions/tools/execute_command.sh b/assets/functions/tools/execute_command.sh index 17ec0a0..1850f1a 100755 --- a/assets/functions/tools/execute_command.sh +++ b/assets/functions/tools/execute_command.sh @@ -6,7 +6,7 @@ set -e # @env LLM_OUTPUT=/dev/stdout The output path -PROMPT_UTILS="${LLM_ROOT_DIR:-$(dirname "${BASH_SOURCE[0]}")/..}/utils/prompt-utils.sh" +PROMPT_UTILS="${LLM_ROOT_DIR:-$(dirname "${BASH_SOURCE[0]}")/..}/functions/utils/prompt-utils.sh" # shellcheck disable=SC1090 source "$PROMPT_UTILS" @@ -14,4 +14,4 @@ main() { guard_operation # shellcheck disable=SC2154 eval "$argc_command" >> "$LLM_OUTPUT" -} \ No newline at end of file +} diff --git a/assets/functions/tools/execute_sql_code.sh b/assets/functions/tools/execute_sql_code.sh index 3b03cd7..02b687f 100755 --- a/assets/functions/tools/execute_sql_code.sh +++ b/assets/functions/tools/execute_sql_code.sh @@ -9,7 +9,7 @@ set -e # @env USQL_DSN! The database connection url. e.g. pgsql://user:pass@host:port # @env LLM_OUTPUT=/dev/stdout The output path -PROMPT_UTILS="${LLM_ROOT_DIR:-$(dirname "${BASH_SOURCE[0]}")/..}/utils/prompt-utils.sh" +PROMPT_UTILS="${LLM_ROOT_DIR:-$(dirname "${BASH_SOURCE[0]}")/..}/functions/utils/prompt-utils.sh" # shellcheck disable=SC1090 source "$PROMPT_UTILS" diff --git a/assets/functions/tools/fs_patch.sh b/assets/functions/tools/fs_patch.sh index bcd0159..d973827 100755 --- a/assets/functions/tools/fs_patch.sh +++ b/assets/functions/tools/fs_patch.sh @@ -9,7 +9,7 @@ set -e # @env LLM_OUTPUT=/dev/stdout The output path -PROMPT_UTILS="${LLM_ROOT_DIR:-$(dirname "${BASH_SOURCE[0]}")/..}/utils/prompt-utils.sh" +PROMPT_UTILS="${LLM_ROOT_DIR:-$(dirname "${BASH_SOURCE[0]}")/..}/functions/utils/prompt-utils.sh" # shellcheck disable=SC1090 source "$PROMPT_UTILS" diff --git a/assets/functions/tools/fs_rm.sh b/assets/functions/tools/fs_rm.sh index b4efbbb..d60149d 100755 --- a/assets/functions/tools/fs_rm.sh +++ b/assets/functions/tools/fs_rm.sh @@ -7,7 +7,7 @@ set -e # @env LLM_OUTPUT=/dev/stdout The output path -PROMPT_UTILS="${LLM_ROOT_DIR:-$(dirname "${BASH_SOURCE[0]}")/..}/utils/prompt-utils.sh" +PROMPT_UTILS="${LLM_ROOT_DIR:-$(dirname "${BASH_SOURCE[0]}")/..}/functions/utils/prompt-utils.sh" # shellcheck disable=SC1090 source "$PROMPT_UTILS" @@ -19,4 +19,4 @@ main() { fi echo "Path removed: $argc_path" >> "$LLM_OUTPUT" -} \ No newline at end of file +} diff --git a/assets/functions/tools/fs_write.sh b/assets/functions/tools/fs_write.sh index 341f319..8511702 100755 --- a/assets/functions/tools/fs_write.sh +++ b/assets/functions/tools/fs_write.sh @@ -8,7 +8,7 @@ set -e # @env LLM_OUTPUT=/dev/stdout The output path -PROMPT_UTILS="${LLM_ROOT_DIR:-$(dirname "${BASH_SOURCE[0]}")/..}/utils/prompt-utils.sh" +PROMPT_UTILS="${LLM_ROOT_DIR:-$(dirname "${BASH_SOURCE[0]}")/..}/functions/utils/prompt-utils.sh" # shellcheck disable=SC1090 source "$PROMPT_UTILS" @@ -24,4 +24,4 @@ main() { printf "%s" "$argc_contents" > "$argc_path" echo "The File contents were written to: $argc_path" >> "$LLM_OUTPUT" -} \ No newline at end of file +}