Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/provider / / AnthropicAPICounterOptions

Interface: AnthropicAPICounterOptions

Defined in: packages/provider/src/counters/anthropic.ts:22

Options for AnthropicAPICounter.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
apiKey?readonlystring-packages/provider/src/counters/anthropic.ts:24
baseUrl?readonlystring-packages/provider/src/counters/anthropic.ts:25
fetchImpl?readonly(input, init?) => Promise<Response>-packages/provider/src/counters/anthropic.ts:26
id?readonlystringIdentifier carried on the produced counter.packages/provider/src/counters/anthropic.ts:28
logger?readonly(message, meta?) => voidLog sink for the WARN emitted (once per counter) when the native call degrades to the tiktoken fallback. Defaults to console.warn.packages/provider/src/counters/anthropic.ts:33
modelIdreadonlystring-packages/provider/src/counters/anthropic.ts:23