Add countTokens method to HumanRelayHandler class in human-relay.ts

This commit is contained in:
Felix NyxJae 2025-03-03 12:11:43 +08:00
parent 626827ab3f
commit b47de72cec

View file

@ -17,6 +17,9 @@ export class HumanRelayHandler implements ApiHandler, SingleCompletionHandler {
constructor(options: ApiHandlerOptions) {
this.options = options
}
countTokens(content: Array<Anthropic.Messages.ContentBlockParam>): Promise<number> {
return Promise.resolve(0)
}
/**
* Create a message processing flow, display a dialog box to request human assistance