style(onboard): fix cargo fmt formatting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Pedro 2026-02-16 22:11:42 -05:00 committed by Chummy
parent 045ead628a
commit bb6034e765

View file

@ -887,9 +887,7 @@ fn fetch_anthropic_models(api_key: Option<&str>) -> Result<Vec<String>> {
let status = response.status(); let status = response.status();
if !status.is_success() { if !status.is_success() {
let body = response.text().unwrap_or_default(); let body = response.text().unwrap_or_default();
bail!( bail!("Anthropic model list request failed (HTTP {status}): {body}");
"Anthropic model list request failed (HTTP {status}): {body}"
);
} }
let payload: Value = response let payload: Value = response
@ -1475,7 +1473,9 @@ fn setup_provider(workspace_dir: &Path) -> Result<(String, String, String)> {
} else { } else {
print_bullet(&format!( print_bullet(&format!(
"Get your API key at: {}", "Get your API key at: {}",
style("https://console.anthropic.com/settings/keys").cyan().underlined() style("https://console.anthropic.com/settings/keys")
.cyan()
.underlined()
)); ));
print_bullet("Or run `claude setup-token` to get an OAuth setup-token."); print_bullet("Or run `claude setup-token` to get an OAuth setup-token.");
println!(); println!();