Skip to content
1 min read · 95 words

@nhtio/adk/batteries/llm/anthropic_messages/count_tokens

Token-count helpers for the Anthropic Messages battery.

Interfaces

InterfaceDescription
AnthropicMessagesCountTokensDepsOptional dependencies for the count-token helpers.

Type Aliases

Type AliasDescription
AnthropicMessagesCountTokensRequestInputPublic count-token input shape accepted by the exported helpers.

Functions

FunctionDescription
countAnthropicMessagesTokensCounts tokens using constructor-baseline options plus executor-style overrides and stash.
countAnthropicMessagesTokensWithResolvedOptionsCounts tokens using already-resolved Anthropic adapter options.