diff --git a/src/api/providers/human-relay.ts b/src/api/providers/human-relay.ts index 618ae847de..4700208cda 100644 --- a/src/api/providers/human-relay.ts +++ b/src/api/providers/human-relay.ts @@ -17,6 +17,10 @@ export class HumanRelayHandler implements ApiHandler, SingleCompletionHandler { constructor(options: ApiHandlerOptions) { this.options = options } + async countTokens(content: Array): Promise { + // Count the number of tokens in the content blocks + return 0 + } /** * Create a message processing flow, display a dialog box to request human assistance