feat: renamed --contents arg for fs_write/patch to --content since most models attempt that first and error otherwise
CI / All (ubuntu-latest) (push) Failing after 24s
CI / All (macos-latest) (push) Has been cancelled
CI / All (windows-latest) (push) Has been cancelled

This commit is contained in:
2026-07-23 19:13:36 -06:00
parent b9474ce6ef
commit 49a281bf93
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ set -e
# your changes).
# @option --path! The path of the file to apply the patch to
# @option --contents! The patch to apply to the file
# @option --content! The patch to apply to the file
# @env LLM_OUTPUT=/dev/stdout The output path
@@ -33,7 +33,7 @@ source "$LLM_PROMPT_UTILS_FILE"
# shellcheck disable=SC2154
main() {
argc_contents="$(jq -r '.contents' <<< "$LLM_TOOL_RAW_JSON")"
argc_contents="$(jq -r '.content' <<< "$LLM_TOOL_RAW_JSON")"
argc_path="$(jq -r '.path' <<< "$LLM_TOOL_RAW_JSON")"
if [[ ! -f "$argc_path" ]]; then
+2 -2
View File
@@ -6,7 +6,7 @@ set -e
# sending less data, and is less prone to accidental data loss.
# @option --path! The path of the file to write to
# @option --contents! The full contents to write to the file
# @option --content! The full contents to write to the file
# @env LLM_OUTPUT=/dev/stdout The output path
@@ -15,7 +15,7 @@ source "$LLM_PROMPT_UTILS_FILE"
# shellcheck disable=SC2154
main() {
argc_contents="$(jq -r '.contents' <<< "$LLM_TOOL_RAW_JSON")"
argc_contents="$(jq -r '.content' <<< "$LLM_TOOL_RAW_JSON")"
argc_path="$(jq -r '.path' <<< "$LLM_TOOL_RAW_JSON")"
if [[ -f "$argc_path" ]]; then