File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
main/java/com/plexpt/chatgpt
test/java/com/plexpt/chatgpt Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -74,15 +74,15 @@ public static void main(String[] args) {
7474
7575 }
7676
77- System .out .println ("Inquiry balance..." );
78- System .out .println ("查询余额中..." );
79- BigDecimal balance = getBalance (key );
80- System .out .println ("API KEY balance: " + balance .toPlainString ());
81-
82- if (!NumberUtil .isGreater (balance , BigDecimal .ZERO )) {
83- System .out .println ("API KEY 余额不足: " );
84- return ;
85- }
77+ // System.out.println("Inquiry balance...");
78+ // System.out.println("查询余额中...");
79+ // BigDecimal balance = getBalance(key);
80+ // System.out.println("API KEY balance: " + balance.toPlainString());
81+ //
82+ // if (!NumberUtil.isGreater(balance, BigDecimal.ZERO)) {
83+ // System.out.println("API KEY 余额不足: ");
84+ // return;
85+ // }
8686
8787
8888 while (true ) {
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ public void before() {
3535 .build ()
3636 .init ();
3737
38- CreditGrantsResponse response = chatGPT .creditGrants ();
39- log .info ("余额:{}" , response .getTotalAvailable ());
38+ // CreditGrantsResponse response = chatGPT.creditGrants();
39+ // log.info("余额:{}", response.getTotalAvailable());
4040 }
4141
4242 @ org .junit .Test
You can’t perform that action at this time.
0 commit comments