Update gemini error msg (#3847)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
@@ -176,9 +176,13 @@ impl GeminiCliProvider {
|
|||||||
|
|
||||||
cmd.stdout(Stdio::piped()).stderr(Stdio::piped());
|
cmd.stdout(Stdio::piped()).stderr(Stdio::piped());
|
||||||
|
|
||||||
let mut child = cmd
|
let mut child = cmd.spawn().map_err(|e| {
|
||||||
.spawn()
|
ProviderError::RequestFailed(format!(
|
||||||
.map_err(|e| ProviderError::RequestFailed(format!("Failed to spawn command: {}", e)))?;
|
"Failed to spawn Gemini CLI command '{}': {}. \
|
||||||
|
Make sure the Gemini CLI is installed and in your PATH.",
|
||||||
|
self.command, e
|
||||||
|
))
|
||||||
|
})?;
|
||||||
|
|
||||||
let stdout = child
|
let stdout = child
|
||||||
.stdout
|
.stdout
|
||||||
|
|||||||
Reference in New Issue
Block a user