supportsReasoning property

bool get supportsReasoning

Check if this model supports reasoning/thinking

Implementation

bool get supportsReasoning {
  // DeepSeek reasoner model supports reasoning
  // Reference: https://api-docs.deepseek.com/api/create-chat-completion
  return model == 'deepseek-reasoner';
}