File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/vs/workbench/contrib/chat/common Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -117,8 +117,7 @@ export class ChatQuotasService extends Disposable implements IChatQuotasService
117
117
private massageQuotas ( quotas : IChatQuotas ) : IChatQuotas {
118
118
return {
119
119
...quotas ,
120
- chatTotal : typeof quotas . chatTotal === 'number' ? Math . floor ( quotas . chatTotal / 10 ) : undefined ,
121
- chatRemaining : typeof quotas . chatRemaining === 'number' ? Math . floor ( Math . max ( 0 , quotas . chatRemaining ) / 10 ) : undefined ,
120
+ chatRemaining : typeof quotas . chatRemaining === 'number' ? Math . max ( 0 , quotas . chatRemaining ) : undefined ,
122
121
completionsRemaining : typeof quotas . completionsRemaining === 'number' ? Math . max ( 0 , quotas . completionsRemaining ) : undefined
123
122
} ;
124
123
}
You can’t perform that action at this time.
0 commit comments