Skip to content

Function: formatReasoning()

formatReasoning(level): string

Map a generic level onto the most common provider wire token.

extra-high becomes xhigh because that is what Databricks / OpenAI error messages advertise today.

ReasoningLevel

string