Skip to content

Commit b47de72

Browse files
committed
Add countTokens method to HumanRelayHandler class in human-relay.ts
1 parent 626827a commit b47de72

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/api/providers/human-relay.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ export class HumanRelayHandler implements ApiHandler, SingleCompletionHandler {
1717
constructor(options: ApiHandlerOptions) {
1818
this.options = options
1919
}
20+
countTokens(content: Array<Anthropic.Messages.ContentBlockParam>): Promise<number> {
21+
return Promise.resolve(0)
22+
}
2023

2124
/**
2225
* Create a message processing flow, display a dialog box to request human assistance

0 commit comments

Comments
 (0)