style(onboard): fix cargo fmt formatting
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
045ead628a
commit
bb6034e765
1 changed files with 4 additions and 4 deletions
|
|
@ -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!();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue