Skip to content

Commit 37c5426

Browse files
committed
remove debug
1 parent 57f3fef commit 37c5426

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ async fn call_openai_api(api_key: &str, text: &str, base_url: &str) -> Result<St
7676
.json::<Value>()
7777
.await?;
7878

79-
// Debug print the request headers
80-
println!("Bearer {}", api_key);
81-
8279
// Extract the suggestion from the response
8380
let choices = response["choices"].as_array().ok_or(SuggestionError("Missing choices field".to_string()))?;
8481
let suggestion = choices

0 commit comments

Comments
 (0)