Skip to content

Commit 990c02c

Browse files
committed
feat(component): change debug log
1 parent d8f18d7 commit 990c02c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,15 @@ export class AiIntegrationsComponent implements Component {
153153
!this.config.tokenCounterConfig.bufferTokens
154154
) {
155155
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`,
157157
);
158158
this.application
159159
.bind(AiIntegrationBindings.LimitStrategy)
160160
.toClass(TokenCountStrategy)
161161
.inScope(BindingScope.REQUEST);
162162
} else if (this.config.tokenCounterConfig.period) {
163163
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`,
165165
);
166166
this.application
167167
.bind(AiIntegrationBindings.LimitStrategy)

0 commit comments

Comments
 (0)