File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/chat/common Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -627,7 +627,7 @@ export class ChatEntitlementRequests extends Disposable {
627
627
if ( response . monthly_quotas ?. chat && typeof response . limited_user_quotas ?. chat === 'number' ) {
628
628
quotas . chat = {
629
629
total : response . monthly_quotas . chat ,
630
- percentRemaining : Math . round ( ( response . limited_user_quotas . chat / response . monthly_quotas . chat ) * 100 ) ,
630
+ percentRemaining : ( response . limited_user_quotas . chat / response . monthly_quotas . chat ) * 100 ,
631
631
overageEnabled : false ,
632
632
overageCount : 0 ,
633
633
unlimited : false
@@ -637,7 +637,7 @@ export class ChatEntitlementRequests extends Disposable {
637
637
if ( response . monthly_quotas ?. completions && typeof response . limited_user_quotas ?. completions === 'number' ) {
638
638
quotas . completions = {
639
639
total : response . monthly_quotas . completions ,
640
- percentRemaining : Math . round ( ( response . limited_user_quotas . completions / response . monthly_quotas . completions ) * 100 ) ,
640
+ percentRemaining : ( response . limited_user_quotas . completions / response . monthly_quotas . completions ) * 100 ,
641
641
overageEnabled : false ,
642
642
overageCount : 0 ,
643
643
unlimited : false
You can’t perform that action at this time.
0 commit comments