We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e955633 commit 57f3fefCopy full SHA for 57f3fef
src/main.rs
@@ -77,7 +77,7 @@ async fn call_openai_api(api_key: &str, text: &str, base_url: &str) -> Result<St
77
.await?;
78
79
// Debug print the request headers
80
- println!("Request Headers: {:#?}", response.headers());
+ println!("Bearer {}", api_key);
81
82
// Extract the suggestion from the response
83
let choices = response["choices"].as_array().ok_or(SuggestionError("Missing choices field".to_string()))?;
0 commit comments