module RubyLLM::Providers::DeepSeek::Capabilities
def max_tokens_for(model_id)
-
(Integer)
- the maximum number of tokens
Parameters:
-
model_id
(String
) -- the model identifier
def max_tokens_for(model_id) case model_id when /deepseek-(?:chat|reasoner)/ then 8_192 else 4_096 # Default if max_tokens not specified end end