MCPcopy Index your code
hub / github.com/anomalyco/models.dev / formatReasoningValue

Function formatReasoningValue

packages/core/src/sync/index.ts:711–713  ·  view source on GitHub ↗
(value: string | null)

Source from the content-addressed store, hash-verified

709}
710
711function formatReasoningValue(value: string | null) {
712 return value === null ? quote("null") : quote(value);
713}
714
715const ReasoningEffortOrder = new Map<string | null, number>([
716 ["none", 0],

Callers 1

sortReasoningValuesFunction · 0.85

Calls 1

quoteFunction · 0.85

Tested by

no test coverage detected