Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/run-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ run() {
if [[ "$OS" == "Windows_NT" ]]; then
set -o igncr
tools_path="$(cygpath -w "$tools_path")"
tool_data="$(echo "$tool_data" | sed 's/\\/\\\\/g')"
fi

jq_script="$(cat <<-'EOF'
Expand Down
9 changes: 9 additions & 0 deletions scripts/run-mcp-tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ load_env() {
}

run() {
if [[ -z "$tool_data" ]]; then
die "error: no JSON data"
fi

if [[ "$OS" == "Windows_NT" ]]; then
set -o igncr
tool_data="$(echo "$tool_data" | sed 's/\\/\\\\/g')"
fi

no_llm_output=0
if [[ -z "$LLM_OUTPUT" ]]; then
no_llm_output=1
Expand Down
1 change: 1 addition & 0 deletions scripts/run-tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ run() {
if [[ "$OS" == "Windows_NT" ]]; then
set -o igncr
tool_path="$(cygpath -w "$tool_path")"
tool_data="$(echo "$tool_data" | sed 's/\\/\\\\/g')"
fi

jq_script="$(cat <<-'EOF'
Expand Down
Loading