Skip to content

Commit a171f99

Browse files
committed
show normal api usage
1 parent f4546ac commit a171f99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ fn call_fn(
284284
Err(e) => Some(String::from("Showing logs folder failed with: ") + &e.to_string()), // If unwrap fails, return Some with the error message
285285
}
286286
}
287-
"open_openai_billing" => match open::that("https://platform.openai.com/usage?tab=month") {
287+
"open_openai_billing" => match open::that("https://platform.openai.com/usage") {
288288
Ok(_) => None,
289289
Err(e) => Some(format!("Failed to open OpenAI billing page: {}", e)),
290290
},
@@ -1356,7 +1356,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
13561356

13571357
ChatCompletionFunctionsArgs::default()
13581358
.name("open_openai_billing")
1359-
.description("Opens the OpenAI usage dashboard for this month in the default web browser.")
1359+
.description("Opens the OpenAI usage dashboard in the default web browser.")
13601360
.parameters(json!({
13611361
"type": "object",
13621362
"properties": {},

0 commit comments

Comments
 (0)