Skip to content

Commit 5f4dc40

Browse files
mingchengCopilot
andauthored
Update src/openai.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0934af6 commit 5f4dc40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openai.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl OpenAI {
5959

6060
// Set up HTTP client builder with default headers
6161
let mut http_client_builder = ClientBuilder::new()
62-
.user_agent(format!("{}({})", CMD, CMD_ABOUT))
62+
.user_agent(format!("{} ({})", CMD, CMD_ABOUT))
6363
.default_headers({
6464
let mut headers = HeaderMap::new();
6565
headers.insert("HTTP-Referer", HeaderValue::from_static(CMD_ABOUT_URL));

0 commit comments

Comments
 (0)