Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/core / / ProviderResponse
Interface: ProviderResponse
Defined in: packages/core/src/contracts/provider.ts:140
One-shot response shape returned by Provider.generate(...).
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
finishReason | readonly | FinishReason | - | packages/core/src/contracts/provider.ts:149 |
providerMetadata? | readonly | Readonly<Record<string, unknown>> | - | packages/core/src/contracts/provider.ts:150 |
text? | readonly | string | - | packages/core/src/contracts/provider.ts:141 |
toolCalls? | readonly | readonly ToolCall[] | Tool invocations the model requested. W-127: reuses the canonical ToolCall (the inline shape here was structurally identical and only invited drift). | packages/core/src/contracts/provider.ts:147 |
usage | readonly | Usage | - | packages/core/src/contracts/provider.ts:148 |