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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
apiKey? | readonly | string | - | packages/provider/src/counters/anthropic.ts:24 |
baseUrl? | readonly | string | - | packages/provider/src/counters/anthropic.ts:25 |
fetchImpl? | readonly | (input, init?) => Promise<Response> | - | packages/provider/src/counters/anthropic.ts:26 |
id? | readonly | string | Identifier carried on the produced counter. | packages/provider/src/counters/anthropic.ts:28 |
logger? | readonly | (message, meta?) => void | Log 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 |
modelId | readonly | string | - | packages/provider/src/counters/anthropic.ts:23 |