Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2a9abd0

Browse filesBrowse files
aaronuu大名(张瑜)
andauthored
* feat: Tool for calculating token consumption quantity. API for querying account balance * feat: * feat: update jtokkit * Fixes TheoKanning#349 --------- Co-authored-by: 大名(张瑜) <daming@eastgarden.com>
1 parent 4a9cfc2 commit 2a9abd0
Copy full SHA for 2a9abd0

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎client/src/main/java/com/theokanning/openai/client/OpenAiApi.java

Copy file name to clipboardExpand all lines: client/src/main/java/com/theokanning/openai/client/OpenAiApi.java
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ public interface OpenAiApi {
138138
*
139139
* @return
140140
*/
141+
@Deprecated
141142
@GET("v1/dashboard/billing/subscription")
142143
Single<Subscription> subscription();
143144

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.