Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Fixes #123 (#352)
Browse files Browse the repository at this point in the history
* feat: Tool for calculating token consumption quantity. API for querying account balance

* feat:

* feat: update jtokkit

* Fixes #349

---------

Co-authored-by: 大名(张瑜) <[email protected]>
  • Loading branch information
aaronuu and 大名(张瑜) authored Aug 25, 2023
1 parent 4a9cfc2 commit 2a9abd0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public interface OpenAiApi {
*
* @return
*/
@Deprecated
@GET("v1/dashboard/billing/subscription")
Single<Subscription> subscription();

Expand All @@ -149,6 +150,7 @@ public interface OpenAiApi {
* @param endDate
* @return Consumption amount information.
*/
@Deprecated
@GET("v1/dashboard/billing/usage")
Single<BillingUsage> billingUsage(@Query("start_date") LocalDate starDate, @Query("end_date") LocalDate endDate);

Expand Down

0 comments on commit 2a9abd0

Please sign in to comment.