fix(cli): show actual provider error instead of generic message (#8374)

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Goose <noreply@block.com>
This commit is contained in:
Vincenzo Palazzo
2026-04-08 15:09:47 +02:00
committed by GitHub
parent fe0adf17b7
commit adf9e1fa79
+5 -1
View File
@@ -852,7 +852,11 @@ pub async fn configure_provider_dialog() -> anyhow::Result<bool> {
}
Err(e) => {
spin.stop(style(e.to_string()).red());
cliclack::outro(style("Failed to configure provider: init chat completion request with tool did not succeed.").on_red().white())?;
cliclack::outro(
style(format!("Failed to configure provider: {e}"))
.on_red()
.white(),
)?;
Ok(false)
}
}