module RubyLLM::Providers::Anthropic::Capabilities
def supports_json_mode?(model_id)
-
(Boolean)
- true if the model supports JSON mode
Parameters:
-
model_id
(String
) -- the model identifier
def supports_json_mode?(model_id) model_id.match?(/claude-3/) end