module RubyLLM::Providers::DeepSeek::Capabilities
def supports_functions?(model_id)
-
(Boolean)
- true if the model supports function calling
Parameters:
-
model_id
(String
) -- the model identifier
def supports_functions?(model_id) model_id.match?(/deepseek-chat/) # Only deepseek-chat supports function calling end