Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/provider / / resolveReasoningRetention
Function: resolveReasoningRetention()
ts
function resolveReasoningRetention(input): ReasoningRetention;Defined in: packages/provider/src/reasoning/retention.ts:55
Resolve the effective ReasoningRetention value for a single request. The resolution is precedence-driven:
requestedwins if defined.overriddenwins next.- The default for
contractis used if the contract is known. 'strip'is the conservative fallback when no input is supplied.
Parameters
| Parameter | Type |
|---|---|
input | ResolveReasoningRetentionInput |