Skip to content
Merged
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
10 changes: 7 additions & 3 deletions crates/goose/src/providers/gemini_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,13 @@ impl GeminiCliProvider {

cmd.stdout(Stdio::piped()).stderr(Stdio::piped());

let mut child = cmd
.spawn()
.map_err(|e| ProviderError::RequestFailed(format!("Failed to spawn command: {}", e)))?;
let mut child = cmd.spawn().map_err(|e| {
ProviderError::RequestFailed(format!(
"Failed to spawn Gemini CLI command '{}': {}. \
Make sure the Gemini CLI is installed and in your PATH.",
self.command, e
))
})?;

let stdout = child
.stdout
Expand Down
Loading