You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/component.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -153,15 +153,15 @@ export class AiIntegrationsComponent implements Component {
153
153
!this.config.tokenCounterConfig.bufferTokens
154
154
){
155
155
debug(
156
-
`Token limit strategy enabled with ${this.config.tokenCounterConfig.tokenLimit} tokens per ${this.config.tokenCounterConfig.period} seconds`,
156
+
`Token count per user strategy enabled with ${this.config.tokenCounterConfig.tokenLimit} tokens per ${this.config.tokenCounterConfig.period} seconds`,
157
157
);
158
158
this.application
159
159
.bind(AiIntegrationBindings.LimitStrategy)
160
160
.toClass(TokenCountStrategy)
161
161
.inScope(BindingScope.REQUEST);
162
162
}elseif(this.config.tokenCounterConfig.period){
163
163
debug(
164
-
`Token count per user strategy enabled with buffer of ${this.config.tokenCounterConfig.bufferTokens??0} tokens and limit of ${this.config.tokenCounterConfig.tokenLimit} tokens per ${this.config.tokenCounterConfig.period} seconds`,
164
+
`Token count per user by token permission strategy enabled with buffer of ${this.config.tokenCounterConfig.bufferTokens??0} tokens and limit of ${this.config.tokenCounterConfig.tokenLimit} tokens per ${this.config.tokenCounterConfig.period} seconds`,
0 commit comments