Skip to content

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

PropertyModifierTypeDescriptionDefined in
finishReasonreadonlyFinishReason-packages/core/src/contracts/provider.ts:149
providerMetadata?readonlyReadonly<Record&lt;string, unknown&gt;>-packages/core/src/contracts/provider.ts:150
text?readonlystring-packages/core/src/contracts/provider.ts:141
toolCalls?readonlyreadonly 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
usagereadonlyUsage-packages/core/src/contracts/provider.ts:148