diff options
| author | sigoden <sigoden@gmail.com> | 2024-11-29 20:18:33 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-29 20:18:33 +0800 |
| commit | c4ba6ff379bdce768f6053671309e2e2f4a6fc79 (patch) | |
| tree | 57af0bf5b49617d98024a3af394ec395e528a111 /Argcfile.sh | |
| parent | 139bd5a3f6738b1d478ffcca497ba09262f443b2 (diff) | |
| download | llm-functions-docker-c4ba6ff379bdce768f6053671309e2e2f4a6fc79.tar.gz | |
refactor: improve coder agent (#131)
Diffstat (limited to 'Argcfile.sh')
| -rw-r--r-- | Argcfile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Argcfile.sh b/Argcfile.sh index bf4e616..386a725 100644 --- a/Argcfile.sh +++ b/Argcfile.sh @@ -170,7 +170,7 @@ build-declarations@tool() { if [[ -n "$build_failed_tools" ]]; then _die "error: invalid tools: ${build_failed_tools[*]}" fi - json_data="$(echo "["$(IFS=,; echo "${json_list[*]}")"]" | jq '.')" + json_data="$(echo "${json_list[@]}" | jq -s '.')" if [[ "$argc_declarations_file" == "-" ]]; then echo "$json_data" else |
