Task attempt 2c218bb9-0865-4b9e-8ecb-0d60ed20ca19 - Final changes
This commit is contained in:
@@ -44,7 +44,7 @@ impl Executor for OpencodeExecutor {
|
||||
|
||||
// Use shell command for cross-platform compatibility
|
||||
let (shell_cmd, shell_arg) = get_shell_command();
|
||||
let opencode_command = format!("opencode -p \"{}\"", prompt.replace('"', "\\\""));
|
||||
let opencode_command = format!("opencode -p \"{}\" --output-format=json", prompt.replace('"', "\\\""));
|
||||
|
||||
let mut command = Command::new(shell_cmd);
|
||||
command
|
||||
@@ -82,7 +82,7 @@ impl Executor for OpencodeFollowupExecutor {
|
||||
|
||||
// Use shell command for cross-platform compatibility
|
||||
let (shell_cmd, shell_arg) = get_shell_command();
|
||||
let opencode_command = format!("opencode -p \"{}\"", self.prompt.replace('"', "\\\""));
|
||||
let opencode_command = format!("opencode -p \"{}\" --output-format=json", self.prompt.replace('"', "\\\""));
|
||||
|
||||
let mut command = Command::new(shell_cmd);
|
||||
command
|
||||
|
||||
Reference in New Issue
Block a user