supportsThinking

Check if thinking extraction capabilities are supported by the underlying implementation.

Thinking capabilities allow extraction of thinking blocks (like <think>...</think>) from LLM responses and provide access to both the result and the extracted thinking content. Always check this before calling thinking() to avoid exceptions.

Note: Thinking and streaming capabilities are mutually exclusive.

Return

true if thinking extraction is supported, false if thinking is not available