@@ -51,7 +51,7 @@ export class LatestTokensAction implements Action {
51
51
suppressInitialMessage = true ;
52
52
template = latestTokensTemplate ;
53
53
54
- async validate ( runtime : IAgentRuntime , message : Memory ) : Promise < boolean > {
54
+ async validate ( _runtime : IAgentRuntime , message : Memory ) : Promise < boolean > {
55
55
const content =
56
56
typeof message . content === "string"
57
57
? message . content
@@ -68,7 +68,7 @@ export class LatestTokensAction implements Action {
68
68
async handler (
69
69
runtime : IAgentRuntime ,
70
70
message : Memory ,
71
- state ?: State ,
71
+ _state ?: State ,
72
72
_options : { [ key : string ] : unknown } = { } ,
73
73
callback ?: HandlerCallback
74
74
) : Promise < boolean > {
@@ -166,7 +166,7 @@ export class LatestBoostedTokensAction implements Action {
166
166
suppressInitialMessage = true ;
167
167
template = latestBoostedTemplate ;
168
168
169
- async validate ( runtime : IAgentRuntime , message : Memory ) : Promise < boolean > {
169
+ async validate ( _runtime : IAgentRuntime , message : Memory ) : Promise < boolean > {
170
170
const content =
171
171
typeof message . content === "string"
172
172
? message . content
@@ -186,7 +186,7 @@ export class LatestBoostedTokensAction implements Action {
186
186
async handler (
187
187
runtime : IAgentRuntime ,
188
188
message : Memory ,
189
- state ?: State ,
189
+ _state ?: State ,
190
190
_options : { [ key : string ] : unknown } = { } ,
191
191
callback ?: HandlerCallback
192
192
) : Promise < boolean > {
@@ -284,7 +284,7 @@ export class TopBoostedTokensAction implements Action {
284
284
suppressInitialMessage = true ;
285
285
template = topBoostedTemplate ;
286
286
287
- async validate ( runtime : IAgentRuntime , message : Memory ) : Promise < boolean > {
287
+ async validate ( _runtime : IAgentRuntime , message : Memory ) : Promise < boolean > {
288
288
const content =
289
289
typeof message . content === "string"
290
290
? message . content
@@ -304,7 +304,7 @@ export class TopBoostedTokensAction implements Action {
304
304
async handler (
305
305
runtime : IAgentRuntime ,
306
306
message : Memory ,
307
- state ?: State ,
307
+ _state ?: State ,
308
308
_options : { [ key : string ] : unknown } = { } ,
309
309
callback ?: HandlerCallback
310
310
) : Promise < boolean > {
0 commit comments