Compare commits

..

No commits in common. "82bbbb955eb71cfe020a58aa1931ae7b08c770a9" and "45370ce7388421f1cf2319c48254b63fd3cd5678" have entirely different histories.

3 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ defmodule Symbiont.Dispatcher do
defp run_cli(cli, model, prompt) do defp run_cli(cli, model, prompt) do
# Pipe prompt via stdin using a shell heredoc — safe for arbitrary content # Pipe prompt via stdin using a shell heredoc — safe for arbitrary content
escaped = prompt |> String.replace("'", "'\\''") escaped = prompt |> String.replace("'", "'\\''")
shell_cmd = "printf '%s' '#{escaped}' | IS_SANDBOX=1 #{cli} -p --model #{model} --output-format json --dangerously-skip-permissions 2>&1" shell_cmd = "printf '%s' '#{escaped}' | #{cli} -p --model #{model} --output-format json 2>&1"
try do try do
{output, exit_code} = System.shell(shell_cmd) {output, exit_code} = System.shell(shell_cmd)