From ee7650cd0f83a32d6ea733a92112445feaae2923 Mon Sep 17 00:00:00 2001 From: Felix NyxJae <18661811993@163.com> Date: Mon, 3 Mar 2025 12:07:00 +0800 Subject: [PATCH] Merged temp-branch into origin/human-relay and resolved conflicts --- src/api/providers/human-relay.ts | 4 ++++ 1 file changed, 4 insertions(+) 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